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:
parent
d0e4357321
commit
c492d7b9ee
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
location ^~ __PATH__/ {
|
||||
location ^~ __PATH__ {
|
||||
|
||||
if ($scheme = http) {
|
||||
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_redirect http:// https://;
|
||||
proxy_http_version 1.1;
|
||||
|
|
Loading…
Add table
Reference in a new issue