servers:windows:nginx:wordpress
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:windows:nginx:wordpress [2025/05/16 12:47] – Sean Rhone | servers:windows:nginx:wordpress [2025/06/14 21:10] (current) – [Prerequisites] Sean Rhone | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | * [[windows;10|Windows | + | * [[windows;11_ltsc_server|Windows |
* [[servers; | * [[servers; | ||
* [[servers; | * [[servers; | ||
+ | * [[programs; | ||
+ | * [[servers; | ||
====== Dependencies ====== | ====== Dependencies ====== | ||
Line 15: | Line 17: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
- | |||
- | ===== Git ===== | ||
- | |||
- | * https:// | ||
- | * Last tested: '' | ||
- | |||
- | * Git from the command line and also from 3rd-party software | ||
- | |||
- | ===== MariaDB Server ===== | ||
- | |||
- | * https:// | ||
- | * Last tested: '' | ||
- | |||
- | * No Development components or Third party tools | ||
- | * Use UTF8 as default server' | ||
- | * [x] Enable Networking | ||
====== Download Source ====== | ====== Download Source ====== | ||
Line 37: | Line 23: | ||
" | " | ||
- | |||
- | " | ||
====== Database ====== | ====== Database ====== | ||
- | " | + | " |
CREATE DATABASE wordpress; | CREATE DATABASE wordpress; | ||
Line 93: | Line 77: | ||
< | < | ||
- | # PHP-CGI | ||
location ~ \.(php)(/ | location ~ \.(php)(/ | ||
fastcgi_split_path_info ^(.+\.(?: | fastcgi_split_path_info ^(.+\.(?: | ||
Line 103: | Line 86: | ||
fastcgi_param " | fastcgi_param " | ||
fastcgi_pass " | fastcgi_pass " | ||
+ | } | ||
+ | |||
+ | # End</ | ||
+ | |||
+ | ===== Themes Deny ===== | ||
+ | |||
+ | * https:// | ||
+ | * Deny all except '' | ||
+ | |||
+ | " | ||
+ | |||
+ | < | ||
+ | location ~ / | ||
+ | deny all; | ||
} | } | ||
Line 121: | Line 118: | ||
include C:/ | include C:/ | ||
include C:/ | include C:/ | ||
+ | include C:/ | ||
client_max_body_size " | client_max_body_size " | ||
Line 135: | Line 133: | ||
rewrite /wp-admin$ $scheme:// | rewrite /wp-admin$ $scheme:// | ||
- | location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ { | ||
- | access_log off; log_not_found off; expires max; | ||
- | } | ||
} | } | ||
Line 145: | Line 140: | ||
====== Scripts ====== | ====== Scripts ====== | ||
+ | |||
+ | **** | ||
MKDIR " | MKDIR " | ||
- | |||
- | " | ||
===== PHP-CGI ===== | ===== PHP-CGI ===== | ||
Line 165: | Line 160: | ||
===== Update ===== | ===== Update ===== | ||
- | |||
- | * https:// | ||
" | " | ||
Line 236: | Line 229: | ||
===== Backup ===== | ===== Backup ===== | ||
- | |||
- | ==== FreeBSD ==== | ||
**** | **** | ||
Line 246: | Line 237: | ||
===== Backup ===== | ===== Backup ===== | ||
- | |||
- | CD " | ||
- | |||
- | " | ||
- | |||
- | ==== FreeBSD ==== | ||
**** | **** | ||
- | | + | |
===== Restore ===== | ===== Restore ===== | ||
Line 261: | Line 246: | ||
* [[# | * [[# | ||
- | " | + | " |
- | " | + | " |
+ | |||
+ | ====== Quick Commands ====== | ||
+ | |||
+ | ===== Scripts ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | " | ||
+ | |||
+ | ===== Bookmarks ===== | ||
+ | |||
+ | * https:// | ||
/srv/www/wiki/data/attic/servers/windows/nginx/wordpress.1747414052.txt.gz · Last modified: by Sean Rhone