Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #user nobody;
- worker_processes 1;
- #error_log logs/error.log;
- #error_log logs/error.log notice;
- #error_log logs/error.log info;
- #pid logs/nginx.pid;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- log_format main '$remote_addr - $remote_user [$time_local] "$request" '
- '$status $body_bytes_sent "$http_referer" '
- '"$http_user_agent" "$http_x_forwarded_for"';
- access_log logs/access.log main;
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 75 20;
- server {
- listen 80;
- server_name localhost fpdownload.adobe.com;
- index index.html index.htm index.php;
- root d:/omega/kiosk-api/web;
- charset utf-8;
- location = /favicon.ico { access_log off; log_not_found off; }
- location = /robots.txt { access_log off; log_not_found off; }
- location = /apple-touch-icon.png { access_log off; log_not_found off; }
- location = /apple-touch-icon-precomposed.png { access_log off; log_not_found off; }
- location ~ /\. { deny all; access_log off; log_not_found off; }
- location / {
- try_files $uri $uri/ @apache;
- }
- location @apache {
- proxy_pass http://127.0.0.1:8080;
- }
- location ~ \.php$ {
- proxy_pass http://127.0.0.1:8080;
- }
- location /pub {
- root d:/omega/kiosk-api/web;
- access_log off;
- }
- location /files {
- root d:/omega/kiosk-api/web;
- expires 1w;
- access_log off;
- add_header Cache-Control "public";
- }
- location /img {
- root d:/omega/kiosk-api/web;
- expires 1w;
- access_log off;
- add_header Cache-Control "public";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment