Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NGINX Rewrite URL to point to specific APEX application

Robert ChaltonJan 10 2013 — edited Jan 10 2013
Anyone know how I can rewrite "http://sales.mydomain.com" to "http://mydomain.com:8080/apex/f?p=101" using NGINX?

This doesn't work....
server {
   listen           80;
   server_name      sales.mydomain.com;
   access_log       /domains/mydomain/sales/access.log;
   error_log        /domains/mydomain/sales/error.log;
   keepalive_timeout 70;

   location / {
   root /domains/mydomain/sales;
   index index.html index.htm;
   proxy_pass       http://mydomain.com:8080/apex/f?p=101;
   }

   ...
   ...
Thanks in advance. Rob
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 7 2013
Added on Jan 10 2013
1 comment
1,216 views