Comments (5)
HTTPS should be handled using Nginx reverse proxy, not by container itself.
from awesome-ttrss.
What do you mean by “Nginx settings are lost”? Nginx is not included and I’m not intended to include it.
My Nginx config looks like this:
upstream ttrssdev {
server 127.0.0.1:181;
}
server {
listen 80;
server_name ttrssdev.henry.wang;
return 301 https://ttrssdev.henry.wang$request_uri;
}
server {
listen 443 ssl;
gzip on;
server_name ttrssdev.henry.wang;
ssl_certificate /etc/letsencrypt/live/ttrssdev.henry.wang/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ttrssdev.henry.wang/privkey.pem;
access_log /var/log/nginx/ttrssdev_access.log combined;
error_log /var/log/nginx/ttrssdev_error.log;
location / {
proxy_redirect off;
proxy_pass http://ttrssdev;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
client_max_body_size 100m;
client_body_buffer_size 128k;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
}
from awesome-ttrss.
Ok but modifying the docker compose all the Nginx settings are lost. Is there a way to enable it even with self signed certificate?
from awesome-ttrss.
Can you give me some tips or links where I can see how to enable it using your project?
from awesome-ttrss.
I mean using the Container station in QNAP when I change a Docker file he will try to restart them and the content in /etc/nginx/nginx.conf is replaced with the default one with only the 80 port.
Ok I will try to add something similar to you, thank you!
from awesome-ttrss.
Related Issues (20)
- [BUG] Plugin af_youtube_embed not working. HOT 1
- [BUG]nightly-2023-12-09 版本有问题 HOT 1
- Have you configured the Mercury Parser API address?
- [BUG] CPU keep 50% load
- [BUG]latest高CPU占用且无法订阅 HOT 1
- [BUG] 6 can not resolve host: 疑似为bug HOT 3
- [BUG]我也遇到了operation time out HOT 1
- [BUG]一直用了好久,今天突然无法访问了 HOT 3
- xxxx
- [BUG] Accessible git directory HOT 2
- [BUG] After my blog website use CDN, can't subscribe the rss, get error:60 ssl certificate problem: unable to get local issuer certificate HOT 1
- [BUG] 全新部署的ttrss无法获取订阅源信息 HOT 2
- Is it possible to use multiple domains and if yes then how ? HOT 1
- 对于某些XML格式的链接不能读取订阅源
- How to backup the TTRSS instance? HOT 1
- 增加使用代理服务器的需求 HOT 2
- [BUG]docker版本与官方版本差异过大 HOT 2
- [BUG] TypeError: h.remove is not a function
- [BUG] 同一台 VPS 上的 TTRSS 不能订阅 RSSHub HOT 10
- [BUG] feed-icons mount point changed upstream without being reflected in docker-compose.yml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-ttrss.