1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

more config on nginx server

This commit is contained in:
Kyle Spearrin
2017-08-23 22:13:50 -04:00
parent e7f713a805
commit 3dd44ce4de
6 changed files with 223 additions and 85 deletions

View File

@ -30,6 +30,7 @@ error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
http {
include proxy.conf;
# Hide nginx version information.
server_tokens off;
@ -38,8 +39,17 @@ http {
include mime.types;
default_type application/octet-stream;
# Update charset_types due to updated mime.types
charset_types text/css text/plain text/vnd.wap.wml application/javascript application/json application/rss+xml application/xml;
# Update charset_types to match updated mime.types.
# text/html is always included by charset module.
# Default: text/html text/xml text/plain text/vnd.wap.wml application/javascript application/rss+xml
charset_types
text/css
text/plain
text/vnd.wap.wml
application/javascript
application/json
application/rss+xml
application/xml;
# Format to use in log files
log_format main '$remote_addr - $remote_user [$time_local] "$request" '