Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Apache + Nginx

Featured Replies

A question for all you network nerds on the forum Would it be a good idea to use a Nginx server as a reverse proxy instead of using an extrnal one? Anyone has experience?

Some experience from a site running a forum and a wiki: Nginx is fast, mostly because of it's small memory footprint. For handling complex PHP it's not always up to the task, so it's a good idea to let it handle simple things like serving pictures, only. Such a setup isn't established by enabling a flag somewhere, it requires to edit Apache config files carefully, adding quite some complexity.

PS/30bz claims to allow loading pictures from an external media server. Never read about anybody using this, but code is there. It looks like a good, simple solution to set up such a media server using Nginx and let 30bz handle all the proxy decisions.

@Traumflug Could you elaborate on "For handling complex PHP it’s not always up to the task"?

I know some people advocated this some years ago, but this was often for enterprisey supercomplicated setups they hardly understood and didn't dare reconfigure, often with weird apache-specific modules thrown into the mix.

Nginx and phpfpm has also come a long way since then.

From my experience running a pure nginx+phpfpm setup for PS/TB is no problem whatsoever.

  • Author

What I am after is the setup of the most perfect TB host

I would go for: Linux (either Ubuntu or CentOS) nginx with everything served over http2 PHP 7.0 with php-fpm mariadb

Just my 2 cents...

Could you elaborate on “For handling complex PHP it’s not always up to the task”?

It's quite possible this has changed to the better in recent years. It's also possible that it works better with one web software than with another. PHP code sometimes makes assumptions which are true on an Apache server, but not on an Nginx one. Sometimes, not always.

If 30bz works fine on a pure Nginx server: great!

  • Author

What I was looking at was to use the nginx as front and let the Apache do the php work

  • Author

Then we setup a test like that and install a tb for tests

  • Author

Is there anyone in this forum that have tested to run TH (or PS) on a Nginx. Outcome?

Many of us have run both PS 1.6 and TB 1.0 using nginx. It works fine. If you have more specific questions just bring them on.

  • Author

What does Nginx do better than Apache? Seems that you pros prefer that solution

I don't claim to be a hosting expert but NGINX themselves have an interesting and overall fairly informative writeup of the history and differences between NGINX and Apache: https://www.nginx.com/blog/nginx-vs-apache-our-view/

  • Author

Interesting article that advocates the same that 50 others do, use both together.

  • Author

I have now upgraded the server and use nginx as reverse proxy in front of Apache. As soon as I have a free ip address I will test to use only nginx

But already now I feel like the rendering time has improved

In order to run something as simple as TB nginx needs apache about as much as a fish needs a bicycle.

  • Author

Yes but with so many different sites on the server I will have both options but need to free an ip to be able to have both running as pure web servers on the same machine without chnaging port numbers

  • 3 weeks later...

https://github.com/denverprophitjr/Linux-Administration fork it and contribute? I was going to create branches for various hardware combos unless someone has a better idea how to organize so many different mixins?

  • Author

@dprophitjr I have hard to understand your post

@Havouza If someone is a linux administrator or hobbyist who understands how to configure linux servers, I have already began an open source project on github to add those configuration files. Share, collaborate and improve it. https://github.com/denverprophitjr/Linux-Administration

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.