mirror of
https://github.com/fergalmoran/dss.docker.git
synced 2025-12-22 09:18:29 +00:00
Fixed SSL
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
server {
|
||||
listen 81;
|
||||
}
|
||||
|
||||
server{
|
||||
listen 444;
|
||||
server_name api.deepsouthsounds.com api-test.deepsouthsounds.com;
|
||||
client_max_body_size 25M;
|
||||
|
||||
ssl on;
|
||||
ssl_certificate /etc/nginx/ssl/dss.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/dss.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://api:8000;
|
||||
proxy_set_header Host $host;
|
||||
@@ -20,9 +12,18 @@ server{
|
||||
}
|
||||
|
||||
server {
|
||||
listen 81;
|
||||
listen 80;
|
||||
listen 443 default ssl;
|
||||
|
||||
server_name www.deepsouthsounds.com ext-test.deepsouthsounds.com deepsouthsounds.com;
|
||||
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/dss.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/dss.key;
|
||||
|
||||
#if ($ssl_protocol = "") {
|
||||
# rewrite ^ https://$server_name$request_uri? permanent;
|
||||
#}
|
||||
|
||||
client_max_body_size 250M;
|
||||
|
||||
location /api {
|
||||
|
||||
Reference in New Issue
Block a user