Merge pull request #88 from Dreytac/patch-1

Fix tt-rss subdomain redirection
This commit is contained in:
aptalca 2019-10-07 21:54:58 -04:00 committed by GitHub
commit 5d2c537a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,6 @@
# make sure that your dns has a cname set for tt-rss and your container name is tt-rss # make sure that your dns has a cname set for tt-rss and your container name is tt-rss
# In tt-rss config.php the SELF_URL_PATH should be set to http://tt-rss.server.com/ NOT https://tt-rss.server.com although it will be accessible on https://tt-rss.server.com # In tt-rss config.php the SELF_URL_PATH should be set to http://tt-rss.server.com/ NOT https://tt-rss.server.com although it will be accessible on https://tt-rss.server.com
server {
listen 80;
server_name tt-rss.*;
return 301 https://$server_name$request_uri;
}
server { server {
listen 443 ssl; listen 443 ssl;
listen [::]:443 ssl; listen [::]:443 ssl;