Merge branch 'nginx-t' into 'develop'

GitLab CI: test Mastodon Nginx conf

See merge request soapbox-pub/soapbox-fe!1438
ci-review-rules
Alex Gleason 2022-05-21 00:07:30 +00:00
commit dfcde45735
2 zmienionych plików z 12 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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;