Created
December 5, 2018 23:10
-
-
Save fcicq/24f51ce332ce6207f1b5d0f38dfddfdc to your computer and use it in GitHub Desktop.
ODSAgent by nginx
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
error_log stderr crit; | |
pid /dev/null; | |
master_process off; | |
daemon off; | |
events{} | |
http{ | |
access_log /dev/stdout; | |
proxy_temp_path /dev/shm/proxy; | |
fastcgi_temp_path /dev/shm/fcgi; | |
uwsgi_temp_path /dev/shm/uwsgi; | |
scgi_temp_path /dev/shm/scgi; | |
client_body_temp_path /dev/shm/client_body_temp 1 2; | |
server { | |
listen 65432 default_server; | |
server_tokens off; | |
location / { | |
return 404; | |
} | |
location = /disk2s0.dmg { | |
root /PATH; | |
add_header 'Server' 'ODS/1.0'; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment