lnmp_mit_debian_10_fuer_wordpress_herrrichten
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lnmp_mit_debian_10_fuer_wordpress_herrrichten [2021/08/10 13:15] – admin | lnmp_mit_debian_10_fuer_wordpress_herrrichten [2021/08/10 13:30] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Wordpress Installation auf nacktem VServer bei Hetzner mit Debian 10 ====== | ||
+ | |||
+ | |||
1 apt update | 1 apt update | ||
Line 35: | Line 38: | ||
| | ||
+ | server { | ||
+ | listen 80; | ||
+ | root / | ||
+ | index index.php index.html index.htm; | ||
+ | server_name example.com; | ||
+ | access_log / | ||
+ | error_log / | ||
+ | client_max_body_size 64M; | ||
+ | location / { | ||
+ | try_files $uri $uri/ / | ||
+ | } | ||
+ | location ~ \.php$ { | ||
+ | try_files $uri =404; | ||
+ | include / | ||
+ | fastcgi_read_timeout 3600s; | ||
+ | fastcgi_buffer_size 128k; | ||
+ | fastcgi_buffers 4 128k; | ||
+ | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | ||
+ | fastcgi_pass unix:/ | ||
+ | fastcgi_index index.php; | ||
+ | } | ||
+ | } | ||
- | < | + | |
- | server { | + | |
- | listen 80; | + | |
- | root /var/www/html/wordpress; | + | |
- | index index.php index.html index.htm; | + | |
- | server_name example.com; | + | |
- | access_log /var/log/nginx/ | + | |
- | error_log / | + | |
- | client_max_body_size 64M; | + | |
- | location / { | + | |
- | try_files $uri $uri/ /index.php?$args; | + | |
- | } | + | |
- | location ~ \.php$ { | + | Weiter gehts mit: [[Server rudimentär absichern]] |
- | try_files $uri =404; | + | |
- | include / | + | |
- | fastcgi_read_timeout 3600s; | + | |
- | fastcgi_buffer_size 128k; | + | |
- | fastcgi_buffers 4 128k; | + | |
- | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | + | |
- | fastcgi_pass unix:/ | + | |
- | fastcgi_index index.php; | + | |
- | } | + | |
- | + | ||
- | } | + | |
- | </ | + | |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | | + |
lnmp_mit_debian_10_fuer_wordpress_herrrichten.1628601300.txt.gz · Last modified: by admin