Fix nginx root path for SPA
This commit is contained in:
1 parent
a056ce39f6
commit
5e6cb851de
1 file changed
+3
-3
@@ -15,10 +15,10 @@ server {
|
|||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name spa.homaroma.shop;
|
server_name spa.homaroma.shop;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/homaroma.shop/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/spa.homaroma.shop/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/homaroma.shop/privkey.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;
|
index index.html index.htm;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Reference in new issue
Block a user