Initial commit for homaroma
This commit is contained in:
commit
f2179cfe57
269 files changed
+22635
No files matched your search
@@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name admin.homaroma.shop;
|
||||
location /.well-known/acme-challenge/ { root /var/www/certbot; }
|
||||
location / { return 301 https://$host$request_uri; }
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name admin.homaroma.shop;
|
||||
ssl_certificate /etc/letsencrypt/live/admin.homaroma.shop/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/admin.homaroma.shop/privkey.pem;
|
||||
location / {
|
||||
root /usr/share/nginx/html/homaroma.shop/admin;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user