mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-04-15 20:43:13 +00:00
$host --> series-notification.online
This commit is contained in:
parent
82a92239e7
commit
77ea967a20
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
domains=(series-notification.online www.series-notification.online)
|
domains=(series-notification.online www.series-notification.online)
|
||||||
rsa_key_size=4096
|
rsa_key_size=4096
|
||||||
data_path="./config/certbot"
|
data_path="../../config/certbot"
|
||||||
email="shahsuvarov703@gmail.com" # Adding a valid address is strongly recommended
|
email="aykhan.shahs0@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
|
||||||
|
|
||||||
if [ -d "$data_path" ]; then
|
if [ -d "$data_path" ]; then
|
||||||
@ -77,4 +77,4 @@ docker compose run --rm --entrypoint "\
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
echo "### Reloading nginx ..."
|
echo "### Reloading nginx ..."
|
||||||
docker compose exec nginx nginx -s reload
|
docker compose exec nginx nginx -s reload
|
@ -11,7 +11,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://series-notification.online$request_uri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,4 +34,4 @@ server {
|
|||||||
location /django_static/ {
|
location /django_static/ {
|
||||||
alias /django_static/;
|
alias /django_static/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user