1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00

Fix NGINX conf

This commit is contained in:
tituspijean 2021-05-25 09:42:44 +02:00
parent d0e4357321
commit c492d7b9ee

View file

@ -1,10 +1,10 @@
location ^~ __PATH__/ { location ^~ __PATH__ {
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
proxy_pass http://localhost:__PORT____PATH__/; proxy_pass http://localhost:__PORT____PATH__;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_redirect http:// https://; proxy_redirect http:// https://;
proxy_http_version 1.1; proxy_http_version 1.1;