mirror of
https://github.com/logos-storage/logos-storage-frontend.git
synced 2026-01-02 05:13:13 +00:00
22 lines
432 B
Plaintext
22 lines
432 B
Plaintext
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
error_page 500 502 503 504 /50x.html;
|
|
|
|
location / {
|
|
try_files $uri /index.html;
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
|
|
location /static {
|
|
expires 1y;
|
|
add_header Cache-Control "public";
|
|
}
|
|
|
|
location /uploads {
|
|
proxy_pass http://localhost:5000;
|
|
}
|
|
} |