rename: hunhin → huahin (domain correction to huahin.propkk.com)
This commit is contained in:
1 parent
1dbc378bdb
commit
df5a22c512
7 files changed
+480
No files matched your search
@@ -0,0 +1,31 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name admin.huahin.propkk.com;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name admin.huahin.propkk.com;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/admin.huahin.propkk.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/admin.huahin.propkk.com/privkey.pem;
|
||||
|
||||
root /usr/share/nginx/html/huahin/admin;
|
||||
index index.html index.htm;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||
expires max;
|
||||
log_not_found off;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user