Accessing wordpress(Docker) via nginx help needed

Currently reading
Accessing wordpress(Docker) via nginx help needed

88
19
NAS
DS920+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. iOS
Hi, I'm having trouble accessing WordPress externally. I have just installed WordPress in Docker and can access it fine locally. I have created a DNS record in CloudFlare (blog.mydomain.com) and added a proxy host in Nginx, but I've done something wrong. I'm just getting a connection timeout when trying to access it externally. Can anyone point me in the right direction please? Thanks.
 
Solution
Timeout points to firewall or port problem. Can you explain the external ports in use as well as what reverse proxy you are using?
Timeout points to firewall or port problem. Can you explain the external ports in use as well as what reverse proxy you are using?
Hi @Rusty ,

So it's port 80 to Nginx via http://blog.mydomain.com

Then Nginx forwards it to (nas-ip:port), using the port I mapped in the WordPress docker compose file (XXXX:80)

The port works fine locally ie. NAS_IP:XXXX.

I tried setting it up bare metal first and had the same issue. Thoght I'd set it up in docker instead before I spent time problem solving. I'm thinking it's something simple knowing me :rolleyes:

Thanks
 
Upvote 0
So in case anyone has a similar issue, with @Rusty's help I've decided to go a different way.
If a moderator passes this way then please feel free to delete this thread.

Thanks 👍
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I can confirm that it is working as described in the tutorial!
Replies
1
Views
5,721
https://www.wordfence.com/blog/2021/12/massive-wordpress-attack-campaign/
Replies
0
Views
1,597
I run a memcached container as part of a stack. When an image update is available, Portainer is unable to...
Replies
0
Views
1,131
Yesterday's Docker update completely wiped my container kingdom. Fortunately a "/" rollback (this is...
Replies
3
Views
1,487
for such purposes it doesn’t matter if Ubnt or Deb headless versions Just care about airflow from/to box...
Replies
16
Views
3,487
  • Solved
App password is unavailable on a free Microsoft email account IIRC. Interestingly, I used the same email...
Replies
8
Views
4,747

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top