goindex-theme-r/nginx/nginx.conf

17 lines
357 B
Nginx Configuration File
Raw Normal View History

2020-04-28 19:02:48 +08:00
server {
listen 8082;
server_name localhost;
2020-04-29 09:45:06 +08:00
root /Users/momik/Documents/MyWork/OpenSource/go2index-theme-acrou/dist;
2020-04-28 19:02:48 +08:00
2020-05-03 15:10:01 +08:00
# location /0: {
# proxy_pass http://ossdev.achirou.workers.dev;
# }
location =/index.html{
index index.html;
2020-04-28 19:02:48 +08:00
}
2020-05-03 15:10:01 +08:00
location ?!(.*\.js|css) {
try_files '' /index.html;
}
2020-04-28 19:02:48 +08:00
}