here is nginx config
server {
# force https
listen 80;
server_name example.com;
return 301 https://example.com$request_uri;
}
server {
client_max_body_size 500M;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_tokens off;
server_name example.com;
include snippets/ssl-params.conf;
include snippets/common-add-headers.conf;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location / {
proxy_pass http://localhost:1338;
proxy_ssl_verify off;
include snippets/common-proxy-headers.conf;
}
}