This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please do not use http2 integration with nginx. Available in http and server ranges. | |
# Bu ayarları http2 etkin edilmeden kullanmayın. Aksi durumda performans ve erişim sorunları yaşarsınız. | |
http2_chunk_size 8k; | |
http2_body_preread_size 64k; | |
http2_idle_timeout 3m; | |
http2_max_concurrent_streams 128; | |
http2_max_header_size 16k; | |
http2_max_field_size 4k; | |
http2_recv_buffer_size 256k; | |
http2_max_requests 100000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Please create a file folder named wordpress.conf in /etc/nginx/conf.d insert into these codes## | |
# Common deny or internal locations, to help prevent access to not-public areas | |
location ~* wp-admin/includes { deny all; } | |
location ~* wp-includes/theme-compat/ { deny all; } | |
location ~* wp-includes/js/tinymce/langs/.*\.php { deny all; } | |
location /wp-content/ { internal; } | |
location /wp-includes/ { internal; } | |
location ~ /(\.|wp-config.php|readme.html|license.txt) { deny all; } | |
# Add trailing slash to */wp-admin requests. |