Vadeg

redmine.vhost

Dec 3rd, 2019
397
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.             server_name         rm3.host.ru ;
  3.             listen              80 ;
  4.             rewrite             ^(.*)$ http://rm.host.ru$1 permanent;
  5.             server_tokens off;
  6. }
  7.  
  8.  
  9.  
  10. server {
  11.         server_name          rm.rcuo.ru;
  12.         listen              80;
  13.         keepalive_timeout   70;
  14.  
  15.         access_log          /var/log/nginx/rm.acc.log combined;
  16.         error_log           /var/log/nginx/rm.err.log notice;
  17.         server_tokens off;
  18.  
  19.         rewrite_log on;
  20.  
  21.         passenger_enabled on;
  22.         passenger_min_instances 1;
  23.  
  24.  
  25.         location /
  26.         {
  27.         root /usr/local/www/redmine/public/;
  28.         allow all;
  29.         rewrite "^/(\d{1,5})$" /issues/$1 break ;
  30.         client_max_body_size      32m;
  31.         }
  32.     }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×