Created
December 22, 2017 04:36
-
-
Save songpon/2c316a471d30dfe45ec6d6878fa611f1 to your computer and use it in GitHub Desktop.
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
## OpenERP backend ## | |
upstream openerp { | |
server 127.0.0.1:8080; | |
} | |
server { | |
listen 443 default; | |
server_name e-system.afrims.org; | |
client_max_body_size 2G; | |
ssl_certificate /home/almacom/apache/server.crt; | |
ssl_certificate_key /home/almacom/apache/server.key; | |
ssl on; | |
ssl_session_cache builtin:1000 shared:SSL:10m; | |
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4; | |
ssl_prefer_server_ciphers on; | |
keepalive_timeout 60; | |
# proxy buffers | |
proxy_buffers 16 64k; | |
proxy_buffer_size 128k; | |
access_log /var/log/nginx/afrims.access.log; | |
error_log /var/log/nginx/afrims.error.log; | |
location / { | |
proxy_pass http://openerp; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment