Remove /images rule and change server_name

This commit is contained in:
Maciej Pędzich 2024-07-26 17:06:25 +02:00
parent a32dd4af6a
commit baa8000522
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

View File

@ -1,13 +1,9 @@
server {
listen 80;
server_name localhost;
server_name racemash.maciejpedzi.ch;
root /usr/share/nginx/html;
index index.html index.htm;
location /images {
root /usr/share/nginx/html/images;
}
location / {
try_files $uri $uri/ /index.html;
}