Skip to content

Instantly share code, notes, and snippets.

@WesleyAC
Created January 21, 2022 14:38
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save WesleyAC/fedf41c6e257acf4f3bc67f144204c52 to your computer and use it in GitHub Desktop.
`diff nginx-0.5.38/conf/nginx.conf nginx-1.21.5/conf/nginx.conf`
18c18
< include conf/mime.types;
---
> include mime.types;
21,22c21,22
< #log_format main '$remote_addr - $remote_user [$time_local] $request '
< # '"$status" $body_bytes_sent "$http_referer" '
---
> #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
> # '$status $body_bytes_sent "$http_referer" '
65a66
> # root html;
69c70
< # include conf/fastcgi_params;
---
> # include fastcgi_params;
98c99
< # listen 443;
---
> # listen 443 ssl;
101d101
< # ssl on;
104a105
> # ssl_session_cache shared:SSL:1m;
107,109c108,109
< # ssl_protocols SSLv2 SSLv3 TLSv1;
< # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
< # ssl_prefer_server_ciphers on;
---
> # ssl_ciphers HIGH:!aNULL:!MD5;
> # ssl_prefer_server_ciphers on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment