Skip to content

Commit

Permalink
feat: reorganize folders
Browse files Browse the repository at this point in the history
  • Loading branch information
akdasa committed May 13, 2023
1 parent 908bc7c commit 3178583
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 14 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 11 additions & 1 deletion config/shlokas.dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ server {
listen 80;
charset utf-8;


include endpoints.conf;
}

server {
listen 443 ssl;
server_name shlokas.dev;
charset utf-8;

ssl_certificate /app/shlokas-balancer/.data/server.crt;
ssl_certificate_key /app/shlokas-balancer/.data/server.key;

include endpoints.conf;
}
22 changes: 11 additions & 11 deletions config/shlokas.prod.conf
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
include shlokas.conf;

server {
listen 80;
server_name shlokas.app;
access_log off;
error_log off;
return 301 https://$host$request_uri;
listen 80;
server_name shlokas.app;
access_log off;
error_log off;
return 301 https://$host$request_uri;
}

server {
listen 443 ssl;
server_name shlokas.app;
charset utf-8;
listen 443 ssl;
server_name shlokas.app;
charset utf-8;

ssl_certificate /app/shlokas-balancer/certs/server.crt;
ssl_certificate_key /app/shlokas-balancer/certs/server.key;
ssl_certificate /app/shlokas-balancer/certs/server.crt;
ssl_certificate_key /app/shlokas-balancer/certs/server.key;

include endpoints.conf;
include endpoints.conf;
}
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ services:
networks:
- shlokas
volumes:
- .logs/balancer/nginx:/var/log/nginx
- .secrets/balancer/certs:/app/shlokas-balancer/certs
- .logs/:/var/log/nginx
- .data:/app/shlokas-balancer/.data


networks:
Expand Down

0 comments on commit 3178583

Please sign in to comment.