Comments (5)
You can use a single domain to serve both the proxy as well as the "playground" (which runs in a development server which is not tested for security problems so make sure to put it behind a password). The following example assumes that:
- you use the domain
rssproxy.example.org
- you're using a normal nginx install (not in a container/docker/whatever)
- the actual rss-proxy install (both services) runs on
daemon.example.org
Use something along these lines:
server {
listen 80;
server_name rssproxy.example.org;
include /etc/nginx/snippets/enforcehttps.conf;
}
server {
listen 443 ssl http2;
server_name rssproxy.example.org;
ssl_certificate /etc/letsencrypt/live/rssproxy.example.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/rssproxy.example.org/privkey.pem;
location /api {
include /etc/nginx/proxy_params;
proxy_redirect http:// https://;
proxy_pass http://daemon.example.org:3000;
}
location / {
satisfy any;
# allow 192.168.1.0/24; # allows internal access without password
auth_basic "RSSProxy";
auth_basic_user_file /etc/nginx/rssproxy.auth;
include /etc/nginx/proxy_params;
proxy_redirect http:// https://;
proxy_pass http://daemon.example.org:4200;
}
}
If you wonder what is in those referenced included files:
$ cat /etc/nginx/proxy_params
# global proxy conf
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Port $server_port;
proxy_pass_request_headers on;
$ cat /etc/nginx/snippets/enforcehttps.conf
location / {
return 301 https://$server_name$request_uri;
}
from rss-proxy.
Sry for the late response. Do you mind checking again with the new version 2? I added my ngix.conf reverse proxy
from rss-proxy.
Can i run it directly from code without creating docker image?
from rss-proxy.
Related Issues (20)
- Is it possible to support multiply feeds? HOT 1
- Blank screen on demo page HOT 1
- Prioritize semantic HTML. HOT 2
- Arm docker image HOT 12
- Add support for hashtags in URL HOT 2
- "Your Atom Feed" button points to source url HOT 2
- Puppeteer front-running scripts HOT 1
- Version 2 Issues HOT 3
- Can not install on Docker HOT 3
- Error message: "Maintenance required" HOT 6
- Getting Issue in trying to install Version 2 HOT 1
- After installing version 1, especially opening js, the memory usage is increasing, how can I release some regularly HOT 2
- Is there any way to use HTTP proxy?
- support for browserless? HOT 1
- error when running version 2 HOT 1
- What does 'undefined' mean, when fetching feeds? HOT 2
- Error when generate RSS feeds - v2 beta HOT 1
- Thunderbird doesn't consider feeds generated by rss-proxy v2.1.0 as valid HOT 4
- What is the separator character for the 'articles must / must not contain' filter?
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 rss-proxy.