2018-05-07 23:08:03 +02:00
|
|
|
location __PATH__ {
|
2024-04-04 00:28:32 +02:00
|
|
|
proxy_pass http://127.0.0.1:__PORT____PATH__;
|
|
|
|
allow 127.0.0.0/8;
|
2017-01-05 23:37:07 +01:00
|
|
|
|
2024-04-04 00:28:32 +02:00
|
|
|
location ~ ^__PATH__/(.+\.(png|svg))$ {
|
|
|
|
alias __DATA_DIR__/www/$1;
|
|
|
|
|
|
|
|
# Include SSOWAT user panel.
|
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
2017-01-05 23:37:07 +01:00
|
|
|
}
|
2024-04-04 00:28:32 +02:00
|
|
|
|
2017-05-18 22:16:45 +02:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
2017-01-05 23:37:07 +01:00
|
|
|
|
2017-01-31 21:26:13 +01:00
|
|
|
proxy_connect_timeout 600;
|
|
|
|
proxy_send_timeout 600;
|
|
|
|
proxy_read_timeout 600;
|
|
|
|
send_timeout 600;
|
2024-04-04 00:28:32 +02:00
|
|
|
|
2017-01-05 23:37:07 +01:00
|
|
|
# Include SSOWAT user panel.
|
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
2024-04-04 00:28:32 +02:00
|
|
|
}
|