mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-11 08:22:44 +00:00
poznote: serve from src/public docroot
This commit is contained in:
@@ -68,7 +68,7 @@ map \$uri \$poznote_coop {
|
||||
|
||||
server {
|
||||
listen 8040;
|
||||
root /var/www/html;
|
||||
root /var/www/html/public;
|
||||
index index.php index.html;
|
||||
|
||||
gzip on;
|
||||
@@ -144,10 +144,12 @@ server {
|
||||
}
|
||||
|
||||
location ~ ^/data/users/[0-9]+/backgrounds/ {
|
||||
root /var/www/html;
|
||||
try_files \$uri =404;
|
||||
}
|
||||
|
||||
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
|
||||
root /var/www/html;
|
||||
try_files \$uri =404;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ map \$uri \$poznote_coop {
|
||||
|
||||
server {
|
||||
listen 8040;
|
||||
root /var/www/html;
|
||||
root /var/www/html/public;
|
||||
index index.php index.html;
|
||||
|
||||
gzip on;
|
||||
@@ -122,10 +122,12 @@ server {
|
||||
}
|
||||
|
||||
location ~ ^/data/users/[0-9]+/backgrounds/ {
|
||||
root /var/www/html;
|
||||
try_files \$uri =404;
|
||||
}
|
||||
|
||||
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
|
||||
root /var/www/html;
|
||||
try_files \$uri =404;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user