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

15 lines
337 B
Nginx Configuration File
Raw Normal View History

2021-08-15 21:48:06 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
2022-03-07 20:47:34 +01:00
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $host;
2021-08-15 21:48:06 +02:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}