Make frontend nginx conf suitable for k8s or local deployment (no need for 'old' deployment bits)

This commit is contained in:
James Wilson
2021-08-14 11:57:52 +01:00
parent 8793d0fd5b
commit 53f7769146
7 changed files with 12 additions and 112 deletions
+9 -3
View File
@@ -10,19 +10,25 @@ events {
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
include /etc/nginx/mime.types;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
gzip on;
include /etc/nginx/conf.d/*.conf;
server {
root /usr/share/nginx/html;
index index.html;
listen 8000;
listen [::]:8000;
server_name telemetry.polkadot.io localhost;
}
}