mirror of
https://github.com/DIGI-UW/HaitiHealthBox.git
synced 2026-10-26 17:35:21 +00:00
redirect http to https
This commit is contained in:
1 parent
0f4f38fd20
commit
0b6b85e018
2 files changed
+6
-1
No files matched your search
@@ -9,7 +9,7 @@ services:
|
||||
container_name: nginx
|
||||
restart: always
|
||||
ports:
|
||||
# - 80:80
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- certs-vol:/etc/nginx/certs/
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
return 301 https://localhost$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
|
||||
Reference in new issue
Block a user