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

4 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;
4 years ago
#server_name hybrid-local.swarmlab.io;
4 years ago
server_name localhost;
4 years ago
#return 301 https://hybrid-local.swarmlab.io$request_uri;
#listen [::]:443 ssl ipv6only=off;
4 years ago
#server_name hybrid-local.swarmlab.io;
4 years ago
#server_name localhost;
root /home/node/swarmlab-app/dist;
4 years ago
# To allow special characters in headers
4 years ago
ignore_invalid_headers off;
4 years ago
# Allow any size file to be uploaded.
# Set to a value such as 1000m; to restrict file size to a specific value
4 years ago
client_max_body_size 0;
4 years ago
4 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;
4 years ago
location / {
index index.html;
}
}