Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ItsOnlyBinary/c1baafa21199df404c7a58d08f9b32e0 to your computer and use it in GitHub Desktop.
Save ItsOnlyBinary/c1baafa21199df404c7a58d08f9b32e0 to your computer and use it in GitHub Desktop.
server {
listen 80;
listen [::]:80;
server_name irc.example.com;
# uncomment to redirect all users to https
#location / {
# return 301 https://$server_name$request_uri;
#}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name irc.example.com;
access_log /var/log/nginx/irc/access-ssl.log main;
error_log /var/log/nginx/irc/error-ssl.log;
include /etc/nginx/extra/kiwiirc.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment