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

Update nginx.conf: no need for ^ in non-regex locations ? x_x

This commit is contained in:
Alexandre Aubin 2024-04-07 17:54:35 +02:00 committed by GitHub
parent c5a6f81bfb
commit 542097d0d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +1,17 @@
location ^__PATH__/cache {
location __PATH__/cache {
rewrite ^(.*)$ /error break;
}
location ^__PATH__/content {
location __PATH__/content {
rewrite ^(.*)$ /error break;
}
location ^__PATH__/system {
location __PATH__/system {
rewrite ^(.*)$ /error break;
}
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location ^__PATH__/ {
location __PATH__/ {
alias __INSTALL_DIR__/ ;