Fix nginx root path for SPA

This commit is contained in:
Your Name committed 2026-06-03 10:42:09 +07:00
1 parent a056ce39f6
commit 5e6cb851de
1 file changed
+3 -3
+3 -3
View File
@@ -15,10 +15,10 @@ server {
listen 443 ssl;
server_name spa.homaroma.shop;
ssl_certificate /etc/letsencrypt/live/homaroma.shop/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/homaroma.shop/privkey.pem;
ssl_certificate /etc/letsencrypt/live/spa.homaroma.shop/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/spa.homaroma.shop/privkey.pem;
root /home/ti/projects/MyNginxMain/nginx/html/homaroma.shop/spa;
root /usr/share/nginx/html/homaroma.shop/spa;
index index.html index.htm;
location / {