mirror of
https://github.com/guezoloic/website.git
synced 2026-01-25 00:34:23 +00:00
22 lines
369 B
Nginx Configuration File
22 lines
369 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name www.guezoloic.com;
|
|
return 301 $scheme://guezoloic.com;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name guezoloic.com;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri /index.html;
|
|
}
|
|
|
|
location /data/ {
|
|
alias /usr/share/nginx/html/data/;
|
|
# autoindex on;
|
|
}
|
|
} |