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

15 lines
301 B
Nginx Configuration File
Raw Normal View History

2020-05-08 20:42:27 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
2021-02-20 19:31:31 +01:00
location / {
2020-05-08 20:42:27 +02:00
# Path to source
2021-02-20 19:31:31 +01:00
root __FINALPATH__/ ;
2020-05-08 20:42:27 +02:00
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Include SSOWAT user panel.
2021-02-20 19:31:31 +01:00
include conf.d/yunohost_panel.conf.inc;
}