2023-01-16 22:20:05 +01:00
|
|
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
|
|
|
location __PATH__/ {
|
|
|
|
|
2023-04-27 21:00:31 +02:00
|
|
|
# Set max upload size
|
|
|
|
client_max_body_size 20m;
|
|
|
|
|
2023-01-17 22:15:30 +01:00
|
|
|
proxy_pass http://127.0.0.1:__PORT__/;
|
2023-01-17 21:22:40 +01:00
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header Host $host;
|
2023-02-27 14:14:59 +01:00
|
|
|
proxy_redirect default;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
2023-03-05 20:02:47 +01:00
|
|
|
|
|
|
|
# Include SSOWAT user panel.
|
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
2022-12-30 00:31:34 +01:00
|
|
|
}
|
2022-12-22 21:47:27 +01:00
|
|
|
|
|
|
|
|