Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Redirect http://build.servo.org/ to HTTPS #973

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions nginx/default
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
server {
listen 80 default_server;
return 301 https://$host$request_uri;
}

server {
listen 443 ssl;
server_name build.servo.org;

ssl_certificate /etc/letsencrypt/live/build.servo.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/build.servo.org/privkey.pem;

listen 443 ssl;

location / {
proxy_pass http://localhost:8010/;
}
Expand Down