1 Reply Latest reply on Jul 4, 2020 3:32 PM by pauljohny

    ngynx ,reverse proxy .doubts.. ords,tomcat , apex 20 and oracle xe

    pauljohny

      I have the following application http://3.1xx1.158:8080/ords/f?p=100:LOGIN::::::

      Now when we point to this server 3.132.101.158 i need the  following application to run.

       

      So for that i installed ords ,tomcat, and apex and oracle xe.

      and ngynx.

      I try to login to the application username admin password 123

      I have changed the  file default.conf for configuring it for reverse proxy.

      But  the  application donot look proper  ..Trying to find out what can be the issue

      http://3xxx01.158/

       

      /etc/nginx/conf.d

      [root@ip-172-31-22-255 conf.d]# ls

      a  default.conf

      [root@ip-172-31-22-255 conf.d]#

      with following  settings.

      proxy_cache_path /var/cache/nginx/one levels=1:2 keys_zone=one:128m;

      server {

      listen 80;

      listen [::]:80;

      server_name 3.132.101.158

      proxy_cache one;

      location / {

      proxy_set_header X-Forwarded-Host $host;

      proxy_set_header X-Forwarded-Server $host;

      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

      proxy_pass http://3.132.101.158:8080/ords/f?p=100:LOGIN::::::;

      }

      Can some one guide what could i be doing wrong ?

      Also i had been following the following instruction.

      https://thecattlecrew.net/2019/06/06/part-4-configure-apex-with-ords-apache-tomcat-und-nginx/