Compare commits

..

2 commits

Author SHA1 Message Date
Micke Nordin cbb6ce3aa3 Fix typo 2024-02-27 16:35:49 +01:00
Micke Nordin 393f2c7034 Open port 80 for acme verification 2024-02-27 16:31:27 +01:00
2 changed files with 6 additions and 1 deletions

View file

@ -40,4 +40,9 @@ class sunetdrive::portal (
from => '0.0.0.0/0',
port => 443,
}
# For acme and redirect
sunet::misc::ufw_allow { 'http':
from => '0.0.0.0/0',
port => 80,
}
}

View file

@ -60,7 +60,7 @@ services:
volumes:
- /opt/portal/config.yaml:/app/config.yaml
environment:
- VIRTUAL_HOST=portal/<%= @domain %>
- VIRTUAL_HOST=portal.<%= @domain %>
- VIRTUAL_PATH=/
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=portal.<%= @domain %>