correction to nginx conf
parent
25ea96fa65
commit
f5e9751516
@ -60,10 +60,6 @@ server {
|
|||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
} # managed by Certbot
|
} # managed by Certbot
|
||||||
|
|
||||||
if ($host = www.chat.example.com) {
|
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
} # managed by Certbot
|
|
||||||
|
|
||||||
listen 80 ;
|
listen 80 ;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name chat.example.com;
|
server_name chat.example.com;
|
||||||
@ -141,6 +137,7 @@ sudo systemctl status chatto
|
|||||||
```
|
```
|
||||||
and if it fails to start do
|
and if it fails to start do
|
||||||
```
|
```
|
||||||
|
|
||||||
sudo journalctl -u chatto
|
sudo journalctl -u chatto
|
||||||
```
|
```
|
||||||
to check the cause of the failure.
|
to check the cause of the failure.
|
||||||
|
Loading…
Reference in New Issue
Block a user