Permalink
Browse files

leave nginx config as-is

  • Loading branch information...
1 parent 308372d commit f7b1158199a9e918576577da26e6c7c13373b48b @adamcooke adamcooke committed May 5, 2017
Showing with 4 additions and 4 deletions.
  1. +4 −4 resource/nginx.cfg
View
@@ -1,13 +1,13 @@
server {
- listen YOUR_IPV4_IP:80;
- listen [YOUR_IPV6_IP]:80;
+ listen [::]:80;
+ listen 0.0.0.0:80;
server_name postal.yourdomain.com;
return 301 https://$host$request_uri;
}
server {
- listen YOUR_IPV4_IP:443 ssl;
- listen [YOUR_IPV6_IP]:443 ssl;
+ listen [::]:443 ssl;
+ listen 0.0.0.0:443 ssl;
root /opt/postal/app/public;
server_name postal.yourdomain.com;
ssl_certificate ssl/postal.crt;

0 comments on commit f7b1158

Please sign in to comment.