1
0
forked from noxious/client

nginx conf. test

This commit is contained in:
2024-10-18 19:45:25 +02:00
parent 222614b856
commit 13cb46658f
2 changed files with 17 additions and 0 deletions

16
nginx.conf Normal file
View File

@ -0,0 +1,16 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# Redirect example
location /discord {
return 301 https://discord.gg/JTev3nzeDa;
}
# Serve static files
location / {
try_files $uri $uri/ /index.html;
}
}