Remove the redirection from HTTP to HTTPS from the mastodon vhost
This is already done in the certbot vhost (https://gitea.kosmos.org/kosmos/chef/src/branch/master/site-cookbooks/kosmos-nginx/templates/default/nginx_conf_certbot.erb) and it redirects every request to HTTPS, breaking Let's Encrypt validation Fixes #110
This commit is contained in:
parent
77508c62a9
commit
0b579b1fea
@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
|
|||||||
license 'MIT'
|
license 'MIT'
|
||||||
description 'Installs/Configures kosmos-mastodon'
|
description 'Installs/Configures kosmos-mastodon'
|
||||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||||
version '0.2.0'
|
version '0.2.1'
|
||||||
|
|
||||||
depends "kosmos-nginx"
|
depends "kosmos-nginx"
|
||||||
depends "kosmos-nodejs"
|
depends "kosmos-nodejs"
|
||||||
|
@ -4,12 +4,6 @@ server {
|
|||||||
include <%= @shared_config_path %>;
|
include <%= @shared_config_path %>;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name <%= @server_name %>;
|
|
||||||
return 301 https://$server_name$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
map $http_upgrade $connection_upgrade {
|
map $http_upgrade $connection_upgrade {
|
||||||
default upgrade;
|
default upgrade;
|
||||||
'' close;
|
'' close;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user