-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add nginx configuration for WordPress subdirectory setup #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
kittenkamala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Is there a reason to use php 8.1 in here instead of 8.3 (which is WP.org's official recommendation) ?
|
I'm using 8.1 on my machine thus I use it there 😅, I'll update that to 8.3 |
|
Hi @kittenkamala - updated the PHP into 8.3 ^^ |
| </IfModule> | ||
| ``` | ||
|
|
||
| ### nginx (server block) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we could link to https://developer.wordpress.org/advanced-administration/server/web-server/nginx/ instead of maintaining multiple copies of this server config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rollybueno thoughts on this?
Adds nginx server block configurations to the WordPress subdirectory guide. The current documentation only covers Apache and IIS..
Note:
I only test this configuration in vm but still needs a thorough testing on a real nginx server to ensure accuracy..
#313