update nginx config as it will need to know the IPs it can listen on to avoid conflict with the fast server
This commit is contained in:
1 parent
d4fd6b9925
commit
308372d3fd
1 file changed
+4
-4
+4
-4
@@ -1,13 +1,13 @@
|
|||||||
server {
|
server {
|
||||||
listen [::]:80;
|
listen YOUR_IPV4_IP:80;
|
||||||
listen 0.0.0.0:80;
|
listen [YOUR_IPV6_IP]:80;
|
||||||
server_name postal.yourdomain.com;
|
server_name postal.yourdomain.com;
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443 ssl;
|
listen YOUR_IPV4_IP:443 ssl;
|
||||||
listen 0.0.0.0:443 ssl;
|
listen [YOUR_IPV6_IP]:443 ssl;
|
||||||
root /opt/postal/app/public;
|
root /opt/postal/app/public;
|
||||||
server_name postal.yourdomain.com;
|
server_name postal.yourdomain.com;
|
||||||
ssl_certificate ssl/postal.crt;
|
ssl_certificate ssl/postal.crt;
|
||||||
|
|||||||
Reference in new issue
Block a user