Skip to content

Commit ccbfe7c

Browse files
authored
Merge pull request #431 from mapswipe/hotfix-nginx-config
fix nginx conf for production environment
2 parents 2522aea + ceee7ff commit ccbfe7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nginx/nginx.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
server {
22
listen 80;
3-
server_name dev.mapswipe.org;
3+
server_name apps.mapswipe.org;
44

55
location / {
66
return 301 https://$host$request_uri;
@@ -11,10 +11,10 @@ server {
1111
server {
1212
listen 443 ssl;
1313

14-
ssl_certificate /etc/letsencrypt/live/dev.mapswipe.org/fullchain.pem;
15-
ssl_certificate_key /etc/letsencrypt/live/dev.mapswipe.org/privkey.pem;
14+
ssl_certificate /etc/letsencrypt/live/apps.mapswipe.org/fullchain.pem;
15+
ssl_certificate_key /etc/letsencrypt/live/apps.mapswipe.org/privkey.pem;
1616

17-
server_name dev.mapswipe.org;
17+
server_name apps.mapswipe.org;
1818

1919
location /api/ {
2020
proxy_pass http://api:80/;

0 commit comments

Comments
 (0)