VirtuBox / nginx-ee

Automated Nginx compilation with HTTP/3 and additional modules support. Compatible with WordOps, EasyEngine & Plesk
https://virtubox.github.io/nginx-ee/
MIT License
203 stars 58 forks source link

Change Nginx to Openresty as default Openresty Nginx #78

Closed kholisrag closed 4 years ago

kholisrag commented 5 years ago

Is your feature request related to a problem? Please describe. Yes, I have a nginx config that request to support lua, and want to integrate it with plesk for better and easy management...

Describe the solution you'd like Is there a simple way to replace default nginx to openresty that support plesk?

I already research it, but always 403 forbidden,,, not sure what's problem there...

VirtuBox commented 5 years ago

Hello @petrukngantuk, Sorry about my answer delay. I have not used openresty enough to know all the differences between OpenResty and Nginx. But if you have 403 forbidden issues, it's probably due to openresty user/group. With Plesk it should be nginx:nginx, and it's better to set it before the compilation by adding --user=nginx --group=nginx to the ./configure command. And nginx user should be added into psaserv group with usermod -aG psaserv nginx.