when I goto http://server/auth I get a 200 FWIW.by uragnorson - Nginx Mailing List - English
Also http://server/auth gives me a 200 status code.by uragnorson - Nginx Mailing List - English
I have location /secret { proxy_pass http://127.0.0.1:9090; proxy_redirect default; proxy_http_version 1.1; auth_request /auth; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-forwarded-For $remote_addr; } location = /auth { proxy_pass http://service/auth; proxy_set_header Host $host; proxy_pass_request_body off; proxy_set_header X-Oby uragnorson - Nginx Mailing List - English
I have a webservice which I am able to authenticate with auth_request_module. From the underlying service, I am able to set the header, "remote_user". However, I am not able to forward the value to my service. So, with /auth, I am able to get "remote_user". But how do I forward that to my "/service"?by uragnorson - Nginx Mailing List - English
On RHEL I have, location / { root /usr/share/nginx.html; } location /dist/ { alias /usr/share/nginx/html/dist/; } I am able to navigate to http://server/dist but in dist the index.html is looking for http://server/js but it should be http:/server/dist/js is there a way to add the extra "dist" ?by uragnorson - Nginx Mailing List - English