P
P
PyNen2017-06-14 20:19:11
Nginx
PyNen, 2017-06-14 20:19:11

What is the best way to link nginx with Apache 2?

https://habrahabr.ru/post/120814/
or
https://community.vscale.io/hc/ru/community/posts/...
- which link is better, both methods from the description work.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Vorotnev, 2017-06-14
@HeadOnFire

What is the best way to link nginx with Apache 2?

The one that lacks Apache.
Unless you're a cheap shared host that needs .htaccess on every folder and applies config on the fly, give me at least one good reason to keep Apache for Nginx. What is the profit? Nginx is statically faster than Apache. Nginx + PHP-FPM is faster than Nginx + Apache + PHP.

A
Andrey Pavlenko, 2017-06-14
@Akdmeh

There is not much difference, just different instructions. Choose any.
In general, in our time, you can think about how to do without Apache altogether if the server is intended for specific well-known scripts that do not have a lot of mod_rewrite or old versions of PHP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question