updated domain gitlab.dittmar.dev => git.dittmar.dev
This commit is contained in:
+4
-4
@@ -15,7 +15,7 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name cantropee.dittmar.dev;
|
server_name git.dittmar.dev;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
@@ -28,7 +28,7 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name gitlab.dittmar.dev;
|
server_name cantropee.dittmar.dev;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
@@ -81,7 +81,7 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name gitlab.dittmar.dev;
|
server_name git.dittmar.dev;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dittmar.dev/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dittmar.dev/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dittmar.dev/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dittmar.dev/privkey.pem;
|
||||||
@@ -93,7 +93,7 @@ server {
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
proxy_pass http://10.222.0.2:8081;
|
proxy_pass http://10.222.0.2:3000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ fi
|
|||||||
|
|
||||||
certbot_path="./data/certbot"
|
certbot_path="./data/certbot"
|
||||||
rsa_key_size=4096
|
rsa_key_size=4096
|
||||||
domains=(dittmar.dev gitlab.dittmar.dev cantropee.dittmar.dev)
|
domains=(dittmar.dev git.dittmar.dev cantropee.dittmar.dev)
|
||||||
email="robindittmar@gmail.com" # Adding a valid address is strongly recommended
|
email="robindittmar@gmail.com" # Adding a valid address is strongly recommended
|
||||||
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits
|
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits
|
||||||
|
|
||||||
@@ -66,4 +66,5 @@ docker run --rm \
|
|||||||
--agree-tos \
|
--agree-tos \
|
||||||
--force-renewal
|
--force-renewal
|
||||||
|
|
||||||
|
docker logs nginx
|
||||||
./stop-nginx.sh
|
./stop-nginx.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user