summarylogtreecommitdiffstats
path: root/nginx-location.conf
diff options
context:
space:
mode:
authorMartina Pietruschka2015-06-08 22:25:47 +0000
committerMartina Pietruschka2015-06-08 22:25:47 +0000
commit1b7a6d1c62b7c1ac40f27fbb2f36d9d24fb09059 (patch)
treee89162de9770c6d4e07b7ea807594a5d5f02c2b1 /nginx-location.conf
downloadaur-1b7a6d1c62b7c1ac40f27fbb2f36d9d24fb09059.tar.gz
Initial import
Diffstat (limited to 'nginx-location.conf')
-rw-r--r--nginx-location.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/nginx-location.conf b/nginx-location.conf
new file mode 100644
index 00000000000..2ea6a503598
--- /dev/null
+++ b/nginx-location.conf
@@ -0,0 +1,32 @@
+
+ ###
+ ## In order to run this component you need to define a server-context in.
+ ## /etc/nginx/nginx.conf:
+ ##
+ ## http {
+ ## server {
+ ## listen 80;
+ ## include ${PATH_TO_THIS_LOCATION_FILE};
+ ## }
+ ## }
+ ##
+ ## Or include this file in your existing server-context.
+ ##
+ location /Microsoft-Server-ActiveSync {
+ root /usr/share/webapps/z-push;
+
+ ## [WARNING] The following header states that the browser should only communicate
+ ## with your server over a secure connection for the next 24 months.
+ add_header Strict-Transport-Security max-age=63072000;
+ add_header X-Frame-Options DENY;
+ add_header X-Content-Type-Options nosniff;
+
+ fastcgi_connect_timeout 65;
+ fastcgi_send_timeout 6000;
+ fastcgi_read_timeout 6000;
+
+ fastcgi_pass unix:/run/php-fpm/z-push.sock;
+ include fastcgi_params;
+ fastcgi_param SCRIPT_FILENAME $document_root/index.php;
+ fastcgi_param SCRIPT_NAME $fastcgi_script_name;
+ }