add troyito
This commit is contained in:
parent
22060e1bf8
commit
d35dfe7800
12 changed files with 517 additions and 0 deletions
30
etc/nginx/sites-available/troyito.com.conf.bootstrap
Normal file
30
etc/nginx/sites-available/troyito.com.conf.bootstrap
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# troyito.com
|
||||
# www.troyito.com
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name troyito.com;
|
||||
root /var/xyzzy/html/troyito;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name www.troyito.com;
|
||||
root /var/xyzzy/html/troyito;
|
||||
index index.html;
|
||||
|
||||
location ~ /\.well-known {
|
||||
allow all;
|
||||
}
|
||||
|
||||
location ~ / {
|
||||
return 301 $scheme://troyito.com$request_uri;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue