Hello All,
We have a use case.
Our web application is deployed in tomcat7. At front, nginx is configured as
reverse proxy and all requests are passed through nginx and are forwarded to
tomcat7. Nginx serve static files directly and dynamic requests ( json ) are
forwarded to tomcat7. At backend, w
I'm seeking advise from experts here.
We have the following scenario. We have a java application. Java app is
running on tomcat7. tomcat7 acting as API server. User interface files (
Static html and css ) are served by nginx. Nginx is acting as reverse proxy
here. All API request are passed to API
I was able to resolve the issue using following rewrite rule.
rewrite ^(.*)$ https://$servername.mydomain.com$1;
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261751,261810#msg-261810
___
nginx mailing list
nginx@nginx.org
http://mailman.n
Yes, the line rewrite ^(.*)$ https://$servername.smartdocsonline.com/$1;
could be the reason.
Any other way to do this ? or Can I edit the existing rewrite rule to avoid
double trailing slash ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261751,261758#msg-261758
___
Hello,
I'm using following settings for redirecting all http requests to https
Our nginx configuration is as follows
server {
listen 80;
server_name ~^(.*)\.mydomain\.com$;
set $servername $1;
rewrite ^(.*)$ https://$servername.mydomain.com/$1;
error_page 500 502 503 504 /50x.html;
}
SSL conf f