suite
This commit is contained in:
parent
92ce5cc3a0
commit
281d132671
@ -4,7 +4,7 @@ upstream negos_app_unicorn {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name negos.pro negos-pro.fr;
|
server_name negos.pro negos-pro.fr commander.vouisstar.fr;
|
||||||
root /home/web/negos_app/current/public;
|
root /home/web/negos_app/current/public;
|
||||||
try_files $uri/index.html $uri @unicorn;
|
try_files $uri/index.html $uri @unicorn;
|
||||||
|
|
||||||
|
@ -2,9 +2,11 @@ Rails.application.routes.draw do
|
|||||||
get 'mail_assets/:token.png' => "admin/mail_trackings#update", :as => :image_tracking
|
get 'mail_assets/:token.png' => "admin/mail_trackings#update", :as => :image_tracking
|
||||||
|
|
||||||
get "vouisstar" => "public/home#vouisstar"
|
get "vouisstar" => "public/home#vouisstar"
|
||||||
constraints subdomain: 'affiliation' do
|
|
||||||
get "/:mlm_token" => "public/home#affiliation"
|
|
||||||
get "/" => "public/home#affiliation"
|
constraints subdomain: 'commander' do
|
||||||
|
|
||||||
|
get "/" => "public/home#vouisstar"
|
||||||
end
|
end
|
||||||
|
|
||||||
get "affiliation/:mlm_token" => "public/home#affiliation"
|
get "affiliation/:mlm_token" => "public/home#affiliation"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user