Created
September 12, 2010 05:27
-
-
Save roktas/575874 to your computer and use it in GitHub Desktop.
This file contains 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
# yoğun yük altında yapılan ayarlar | |
client_max_body_size 32m; | |
client_body_buffer_size 8192k; | |
client_body_timeout 120; | |
client_header_timeout 120; | |
send_timeout 120; | |
keepalive_timeout 120; | |
# dersler dizinini dış erişimden korumak için alınan yetersiz önlem | |
location ~ /dersler/ { | |
valid_referers www.uzak.omu.edu.tr uzak.omu.edu.tr uzem.omu.edu.tr www.uzem.omu.edu.tr; | |
if ($invalid_referer) { | |
return 403; | |
} | |
} | |
# bu acaba tüm dosyalar için öntanımlı zaman aşımı değeri mi ayarlıyor? | |
location / { | |
expires 30d; | |
access_log off; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment