SHARE
TWEET

redmine.vhost

Vadeg Dec 3rd, 2019 (edited) 79 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top