mirror of
https://github.com/guezoloic/website.git
synced 2026-01-25 03:34:23 +00:00
fork: move from guezoloic repo
This commit is contained in:
22
nginx.conf
Normal file
22
nginx.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user