freechat/nginx-conf/freechat.conf
shockrah b5609febf6 Adding some basic configuration for Nginx as a reverse proxy
For now the readme walks the user through how to generate any keys that may be required for self signing, more documentation to come in following patches on origin/nginx
2021-02-11 20:22:53 -08:00

19 lines
402 B
Plaintext

server {
# Freechat servers should not bother adding support for unencrypted trafic
listen 443 ssl; # default_server;
listen [::]:443 ssl; # default_server;
# Uncomment this line if you are self signing your certs
#include snippets/self-signed.conf;
# General SSL/TLS settings for nginx
include snippets/ssl-params.conf;
server_name _;
location / {
proxy_pass http://0.0.0.0:4536;
}
}