mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-17 04:09:26 +08:00
12 lines
No EOL
203 B
Nginx Configuration File
12 lines
No EOL
203 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
sendfile on;
|
|
default_type application/octet-stream;
|
|
gzip on;
|
|
|
|
root /usr/share/nginx/build;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html =404;
|
|
}
|
|
} |