Merge branch 'nginx-t' into 'develop'

GitLab CI: test Mastodon Nginx conf

See merge request soapbox-pub/soapbox-fe!1438
environments/review-develop-3zknud/deployments/35
Alex Gleason 2 years ago
commit dfcde45735

@ -59,6 +59,15 @@ jest:
- "package.json"
- "yarn.lock"
nginx-test:
stage: test
image: nginx:latest
before_script: cp installation/mastodon.conf /etc/nginx/conf.d/default.conf
script: nginx -t
only:
changes:
- "installation/mastodon.conf"
build-production:
stage: build
script: yarn build

@ -39,8 +39,9 @@ server {
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
# Uncomment these lines once you acquire a certificate:
# listen 443 ssl http2;
# listen [::]:443 ssl http2;
server_name example.com;
ssl_protocols TLSv1.2 TLSv1.3;

Loading…
Cancel
Save