Remove the redirection from HTTP to HTTPS from the mastodon vhost #111

Manually merged
greg merged 1 commits from bugfix/110-mastodon_broken_certbot into master 2019-10-30 11:29:59 +00:00
2 changed files with 1 additions and 7 deletions

View File

@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
license 'MIT'
description 'Installs/Configures kosmos-mastodon'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.2.0'
version '0.2.1'
depends "kosmos-nginx"
depends "kosmos-nodejs"

View File

@ -4,12 +4,6 @@ server {
include <%= @shared_config_path %>;
}
server {
listen 80;
server_name <%= @server_name %>;
return 301 https://$server_name$request_uri;
}
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;