1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00
tandoor_ynh/conf/nginx.conf
navanchauhan 1400784e9b fix
2022-08-06 17:23:06 -04:00

22 lines
528 B
Nginx Configuration File

#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
proxy_set_header Host $http_host;
proxy_pass http://unix:__FINALPATH__/recipes.sock;
proxy_set_header X-Forwarded-Proto $scheme;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/static {
alias __FINALPATH__/staticfiles;
}
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/media {
alias __FINALPATH__/mediafiles;
}