summaryrefslogtreecommitdiffstats
path: root/puszcza.jopek.eu.conf
diff options
context:
space:
mode:
authorMaks Jopek <maks@jopek.eu>2026-07-11 01:41:58 +0200
committerMaks Jopek <maks@jopek.eu>2026-07-11 01:41:58 +0200
commit9e86f5c1029a3990645c25e5882a1a54c73ad706 (patch)
tree601dd7f3c3cb803cdfd9d266e9be15f94a0f7b08 /puszcza.jopek.eu.conf
parentf7e2468d18cfa9e72fa0b41654ff9d7f18e936bd (diff)
downloadpuszcza.jopek.eu-master.tar.gz
puszcza.jopek.eu-master.tar.zst
puszcza.jopek.eu-master.zip
Fix nginx extensionless .htmlHEADmaster
Diffstat (limited to 'puszcza.jopek.eu.conf')
-rw-r--r--puszcza.jopek.eu.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/puszcza.jopek.eu.conf b/puszcza.jopek.eu.conf
index d05077a..6ffb1a6 100644
--- a/puszcza.jopek.eu.conf
+++ b/puszcza.jopek.eu.conf
@@ -3,7 +3,7 @@ server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
- index index.html index.php;
+ index index.html;
location /admin {
auth_basic "Uploaded files";
@@ -20,8 +20,8 @@ server {
}
location / {
- root /var/www/puszcza.jopek.eu/uploads;
- try_files $uri $uri.html $uri/;
+ root /var/www/puszcza.jopek.eu/uploads/;
+ try_files $uri $uri.html $uri/ =404;
}
ssl_certificate /etc/acme.sh/jopek.eu_ecc/fullchain.cer;