[GH-ISSUE #1363] WordPress website loses styling when proxied through NPM & Cloudflared Argo Tunnel #1078

Closed
opened 2026-02-26 06:35:41 +03:00 by kerem · 5 comments
Owner

Originally created by @TomKamin1 on GitHub (Aug 30, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1363

Describe the bug
I'm getting odd behaviour when i combined Proxy manager & Cloudflared (argo tunnel) & Wordpress on my Unraid server. Instead of my website having normal styling, it seems to only display text, but ONLY on the domain, not on my LAN server ip. Cloudflare setup remains the same as it were before (when i used SWAG, it worked fine).

Nginx Proxy Manager Version
v2.9.8

To Reproduce
Steps to reproduce the behavior:
Correctly setup MariaDB, Cloudflared and WordPress docker templates on Unraid. Attempt to have all traffic go through cloudflared, directly to NPM.

Expected behavior
Check second screenshot.

Screenshots
How the website looks through Nginx
image

How it looks on LAN
image

Operating System
Unraid 6.9.2

Any help / ideas what this could be are welcome !

Originally created by @TomKamin1 on GitHub (Aug 30, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1363 **Describe the bug** I'm getting odd behaviour when i combined Proxy manager & Cloudflared (argo tunnel) & Wordpress on my Unraid server. Instead of my website having normal styling, it seems to only display text, but ONLY on the domain, not on my LAN server ip. Cloudflare setup remains the same as it were before (when i used SWAG, it worked fine). **Nginx Proxy Manager Version** v2.9.8 **To Reproduce** Steps to reproduce the behavior: Correctly setup MariaDB, Cloudflared and WordPress docker templates on Unraid. Attempt to have all traffic go through cloudflared, directly to NPM. **Expected behavior** Check second screenshot. **Screenshots** How the website looks through Nginx ![image](https://user-images.githubusercontent.com/81120446/131380296-14edb036-7380-42fa-99b8-2a46d372a1e4.png) How it looks on LAN ![image](https://user-images.githubusercontent.com/81120446/131380331-917ad80a-52dd-4234-8f94-dca0ae8a0958.png) **Operating System** Unraid 6.9.2 Any help / ideas what this could be are welcome !
kerem 2026-02-26 06:35:41 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@mastoltejr commented on GitHub (Sep 15, 2021):

I have the same issue with my pihole web UI and I have Cloudflare as my dns provider.
1316FB07-7C1E-41FD-ABF7-C6981652BCD7

<!-- gh-comment-id:919655618 --> @mastoltejr commented on GitHub (Sep 15, 2021): I have the same issue with my pihole web UI and I have Cloudflare as my dns provider. ![1316FB07-7C1E-41FD-ABF7-C6981652BCD7](https://user-images.githubusercontent.com/31829871/133362254-4ef10e23-f190-44dc-a00a-fe64090f3f69.jpeg)
Author
Owner

@yun00001 commented on GitHub (Oct 13, 2021):

I got the same issue also. Do you guys got any resolution for this?

<!-- gh-comment-id:942092100 --> @yun00001 commented on GitHub (Oct 13, 2021): I got the same issue also. Do you guys got any resolution for this?
Author
Owner

@TomKamin1 commented on GitHub (Oct 13, 2021):

It ended up being caused by the wordpress container being installed before
i set up NGNIX. You need to do the initial setup through the actual UI it
will be on later on in Wordpress.

<!-- gh-comment-id:942166991 --> @TomKamin1 commented on GitHub (Oct 13, 2021): It ended up being caused by the wordpress container being installed before i set up NGNIX. You need to do the initial setup through the actual UI it will be on later on in Wordpress.
Author
Owner

@yun00001 commented on GitHub (Oct 13, 2021):

It ended up being caused by the wordpress container being installed before i set up NGNIX. You need to do the initial setup through the actual UI it will be on later on in Wordpress.

Okay i'll try it later! Tysm!

<!-- gh-comment-id:942169766 --> @yun00001 commented on GitHub (Oct 13, 2021): > It ended up being caused by the wordpress container being installed before i set up NGNIX. You need to do the initial setup through the actual UI it will be on later on in Wordpress. Okay i'll try it later! Tysm!
Author
Owner

@jc21 commented on GitHub (Oct 13, 2021):

Yes wordpress likes to hardcode the entire domain url inside the database in a lot of different places.

In the past I've had to run a wordpress plugin on the command line that replaces one string (domain) with another in all places and since some of those places are "php serialized" you can't just use sql for it :/

I hate wordpress for a lot of reasons but this one specifically erks me.

<!-- gh-comment-id:942174024 --> @jc21 commented on GitHub (Oct 13, 2021): Yes wordpress likes to hardcode the entire domain url inside the database in a _lot_ of different places. In the past I've had to run a wordpress plugin on the command line that replaces one string (domain) with another in all places and since some of those places are "php serialized" you can't just use sql for it :/ I hate wordpress for a lot of reasons but this one specifically erks me.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1078
No description provided.