Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Hosting behind NGINX 1 month 2 days ago #1

  • stevewaha
  • stevewaha's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
Hi
I have a webtrees server (192.168.0.213/webtrees) that I want to publish through NGINX as webtree.XXXXX.com . I have a couple of issues :
1. The basic webpage with no CSS formatting shows up
2. Many of the links default back to the 192.168 address

Not sure what I am doing wrong. Does anyone have an example NGINX config to fix this.

Thanks in Advance

Please Log in or Create an account to join the conversation.

Hosting behind NGINX 1 month 2 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14084
> 1. The basic webpage with no CSS formatting shows up
> 2. Many of the links default back to the 192.168 address

In the file data/config.ini.php, is the setting for `base_url` correct.

It sounds like you have it set to your internal URL, rather than your external URL.

> Does anyone have an example NGINX config to fix this.

There is one here: webtrees.net/faq/urls/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Hosting behind NGINX 1 month 2 days ago #3

  • stevewaha
  • stevewaha's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
Ahh Awesome thanks fisharebest ... the config.ini.php file did the trick. My NGINX config was all good. Once I changed the config.ini.php file it is now working.
Cheers

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum