Add project
This commit is contained in:
24
FrontAdmin/nginx.conf
Normal file
24
FrontAdmin/nginx.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
events { }
|
||||
http {
|
||||
include mime.types;
|
||||
types {
|
||||
application/wasm wasm;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# To jest najwa¿niejsza czêœæ dla Blazora:
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
|
||||
# Opcjonalnie: cache dla plików statycznych
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|css|js|wasm|dll)$ {
|
||||
expires 7d;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user