Page MenuHomeDevCentral

Switch agora.nasqueron.org to HTTPS only
Closed, ResolvedPublic

Description

As it requires authentication, and as cookies are protocol relative, to switch this to HTTPS is probably a good idea.

Event Timeline

dereckson closed this task as Resolved.EditedJan 21 2017, 13:30

Redirect to SSL web server configuration

/usr/local/etc/nginx/vhosts/nasqueron.org.conf
server {
    listen          80;
    listen          [2001:470:1f12:9e1::2]:80;
    listen          [2001:470:1f13:9e1:0:c0ff:ee:1]:80;
    server_name     agora.nasqueron.org;

    location / {
        return 301 https://$host$request_uri;
    }
}

Wiki configuration

/var/wwwroot/nasqueron.org/agora/LocalSettings.php
$wgServer           = "https://agora.nasqueron.org";