You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

3 years ago
proxy_cache_path /var/tmp levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=60m use_temp_path=off;
resolver_timeout 5s;
server {
listen 80;
listen [::]:80 ipv6only=on;
3 years ago
#server_name hybrid-local.swarmlab.io;
3 years ago
server_name localhost;
3 years ago
#return 301 https://hybrid-local.swarmlab.io$request_uri;
#listen [::]:443 ssl ipv6only=off;
3 years ago
#server_name hybrid-local.swarmlab.io;
3 years ago
#server_name localhost;
root /home/node/swarmlab-app/dist;
3 years ago
# To allow special characters in headers
3 years ago
ignore_invalid_headers off;
3 years ago
# Allow any size file to be uploaded.
# Set to a value such as 1000m; to restrict file size to a specific value
3 years ago
client_max_body_size 0;
3 years ago
3 years ago
#ssl_certificate /etc/nginx/swarmlab.crt;
#ssl_certificate_key /etc/nginx/swarmlab.key;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#ssl_ciphers HIGH:!aNULL:!MD5;
3 years ago
location / {
index index.html;
}
}