mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
Fix #8
This commit is contained in:
parent
8b3b950028
commit
0004c092fd
1 changed files with 11 additions and 1 deletions
|
@ -10,5 +10,15 @@ location __PATH__/ {
|
|||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
#include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
location /cockpit/ {
|
||||
proxy_pass https://127.0.0.1:8104/cockpit/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_buffering off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue