Comments (7)
thanks this worked for me aswell!
from ciao.
Hi, could you please add more information concerning your reverse proxy and its configuration?
BTW, there is a template for a Feature Request.
from ciao.
Ah sorry, didn't see the template. I should definitely look before posting an issue next time!
I am using nginx for my reverse proxy, with the following config:
location / {
proxy_pass http://ciao:3000;
client_max_body_size 100M;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
from ciao.
Could you please post the whole nginx config for testing purposes?
from ciao.
(replacing my domain with ciao.example.com)
/etc/nginx/conf.d/ciao.conf:
server {
listen 443 ssl; # IPv4
listen [::]:443 ssl; # IPv6
server_name ciao.example.com;
ssl_certificate /etc/nginx/ssl/live/ciao.example.com/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/ciao.example.com/privkey.pem;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_read_timeout 600;
location / {
proxy_pass http://ciao:3000;
client_max_body_size 100M;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
/etc/nginx/conf.d/default.conf:
server {
listen 80;
listen [::]:80;
server_name _;
server_tokens off;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://example.org$request_uri;
}
}
The nginx container and ciao container are in the same docker network.
from ciao.
Could you please try to change the line
proxy_set_header X-Forwarded-Host $remote_addr;
to
proxy_set_header X-Forwarded-Host $host;
in the location block of the /etc/nginx/conf.d/ciao.conf
and reload nginx?
from ciao.
That appeared to work! Thank you.
from ciao.
Related Issues (20)
- please add a demo HOT 1
- Docker build on linux/arm* fails HOT 1
- Running on M1 fails to start HOT 2
- multiple checks
- webhook is no work HOT 1
- Ability to check the status of redirected URL. HOT 1
- ignore the ssl certificate errors so that sites with self-signed certificates can be checked for availability HOT 2
- Feature request: Notify on TLS/SSL Certificate expiration HOT 3
- Disable TLS expiration notifications HOT 1
- treshhold for consecutive check failure HOT 4
- Docker build error. LoadError: cannot load such file -- sqlite3/sqlite3_native (LoadError) HOT 10
- Can not send email using Ciao HOT 2
- error converting YAML to JSON: yaml: line 12: did not find expected key HOT 1
- Gotify Notification not sending. HOT 6
- Can it support monitoring of specified URLs through http or socks proxy? HOT 1
- Disable certificate verification HOT 2
- Cron does not work correctly at time setting HOT 1
- Mobile app for android/iOS HOT 1
- Feature Request ICMP (Ping) to IP or hostname. HOT 1
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 ciao.