mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-21 17:54:13 -05:00
Update nginx config to support the SPA
This commit is contained in:
parent
3d041aa06f
commit
5812885830
|
|
@ -11,4 +11,5 @@ services:
|
|||
image: nginx
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
|
||||
- ./dist:/usr/share/nginx/html:ro
|
||||
|
|
|
|||
10
docker/nginx/conf.d/default.conf
Normal file
10
docker/nginx/conf.d/default.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user