summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;