fix: update ssl cert path to consolidated certificate in kittisak-nginx
This commit is contained in:
1 parent
486c8d31f1
commit
960ba2a0e8
3 files changed
+6
-6
No files matched your search
@@ -14,8 +14,8 @@ server {
|
|||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name admin.kittisak.com;
|
server_name admin.kittisak.com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/admin.kittisak.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/kittisak.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/admin.kittisak.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/kittisak.com/privkey.pem;
|
||||||
|
|
||||||
root /usr/share/nginx/html/kittisak/admin;
|
root /usr/share/nginx/html/kittisak/admin;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ server {
|
|||||||
|
|
||||||
client_max_body_size 20m;
|
client_max_body_size 20m;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/api.kittisak.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/kittisak.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/api.kittisak.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/kittisak.com/privkey.pem;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://192.168.1.167:3054;
|
proxy_pass http://192.168.1.167:3054;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ server {
|
|||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name spa.kittisak.com;
|
server_name spa.kittisak.com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/spa.kittisak.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/kittisak.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/spa.kittisak.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/kittisak.com/privkey.pem;
|
||||||
|
|
||||||
root /usr/share/nginx/html/kittisak/spa;
|
root /usr/share/nginx/html/kittisak/spa;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|||||||
Reference in new issue
Block a user