SMARAM Posted October 29, 2019 Share Posted October 29, 2019 Hi, I'm using nginx to redirect my unigui applications on IIS, but I need help to setting up. When nginx redirects an application to location, the files sources don't work. I've alredy tried to change ExtRoot and UniRoot, but without success. nginx conf upstream amteste { server localhost:91; } server { listen 80; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host:$server_port; location = /amteste { return 301 /amteste/; } location /amteste/ { proxy_pass http://amteste/; } } Is it possible? Any idea? Quote Link to comment Share on other sites More sharing options...
zhyhero Posted October 30, 2019 Share Posted October 30, 2019 probably proxy_redirect off; Quote Link to comment Share on other sites More sharing options...
Ronbral Posted October 30, 2019 Share Posted October 30, 2019 Maybe this online configuration generator will help you: https://nginxconfig.io/ Quote Link to comment Share on other sites More sharing options...
SMARAM Posted October 31, 2019 Author Share Posted October 31, 2019 I think the nginx is not the problem. I need to change the src root to the nginx location. Example: /smaramweb.dll/ -> /amteste/smaramweb.dll Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.