* updated nginx.conf
This commit is contained in:
parent
8145bb4ae3
commit
3a8b7b07a7
|
|
@ -3,12 +3,20 @@ upstream django {
|
|||
}
|
||||
|
||||
server {
|
||||
set $APP_HOME /var/www/phzhik-poizonstore;
|
||||
|
||||
listen 80;
|
||||
server_name crm-poizonstore.ru;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
set $APP_HOME /var/www/phzhik-poizonstore;
|
||||
|
||||
listen 443 ssl;
|
||||
server_name crm-poizonstore.ru;
|
||||
charset utf-8;
|
||||
|
||||
# === Add here SSL config ===
|
||||
|
||||
# max upload size
|
||||
client_max_body_size 75M; # adjust to taste
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user