1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kiwiirc_ynh.git synced 2024-09-03 19:35:59 +02:00
kiwiirc_ynh/conf/nginx.conf

16 lines
426 B
Nginx Configuration File
Raw Normal View History

2020-10-11 15:21:19 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2014-08-27 23:42:00 +02:00
2022-02-03 18:51:24 +01:00
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header x-forwarded-for $remote_addr;
2014-08-27 23:42:00 +02:00
2022-02-03 18:58:38 +01:00
proxy_pass http://127.0.0.1:__PORT__/kiwi/;
2022-02-03 18:51:24 +01:00
proxy_redirect default;
# Websocket support (from version 1.4)
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
2014-08-27 23:42:00 +02:00
}