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, we have MySQL db to save the application settings. What we want is when client type https://tby linsonj - Nginx Mailing List - English
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 server and rest are being server by nginx directly. What we want is to implement cache mechanisby linsonj - Nginx Mailing List - English
I was able to resolve the issue using following rewrite rule. rewrite ^(.*)$ https://$servername.mydomain.com$1;by linsonj - Nginx Mailing List - English
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 ?by linsonj - Nginx Mailing List - English
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 file server { listen 443 ssl; server_name ~^(?<subdomain>.+)\.mydomain\.comby linsonj - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |