Posts

Showing posts from March 6, 2019

Nginx reverse proxy Serving Node.js app static file

Image
1 I have a Laravel application in which one route /onlineAds will take me to another application (an SPA one) built with Vue.Js as front and Node.js as Back. So I'm trying to use Nginx as a reverse proxy in order to serve my SpaApp's static files but without any success. My conf is as follow: / => will be serverd from "C:/laragon/www/laravel_App/public/" /onlineAds/(*) => will be serverd from "C:/laragon/www/VueNodeApp/dist/" /api/(*) => will be proxied to nodeJs server Here is what I tried to do with Nginx: server listen 8080; server_name domain.test *.domain.test; root "C:/laragon/www/laravel_App/public/"; index index.html index.htm index.php; location / try_files $uri $uri/ /index.php$is_args$args; autoindex on; location ~* ^/onlineAds(.*)$ alias "C:/laragon/www/craiglist/dist/"; #try_files $uri $uri/ /index.html; location ~* ^/api(.*)$ proxy_set_header Host $host; proxy_set_header Upgrade $http_up

Rieux-Volvestre

Image
Rieux-Volvestre Region Okzitanien Département Haute-Garonne Arrondissement Muret Kanton Auterive Gemeindeverband Volvestre Koordinaten 43° 15′  N , 1° 12′  O 43.258333333333 1.1980555555556 Koordinaten: 43° 15′  N , 1° 12′  O Höhe 195–343 m Fläche 32,38 km 2 Einwohner 2.576 (1. Januar 2016) Bevölkerungsdichte 80 Einw./km 2 Postleitzahl 31310 INSEE-Code 31455 Kathedrale von Rieux-Volvestre Rieux-Volvestre ist eine französische Gemeinde des Départements Haute-Garonne in der Region Okzitanien und ist administrativ dem Arrondissement Muret zugeteilt. Sie war bis zu dessen Auflösung 2015 der Hauptort ( Chef-lieu ) des gleichnamigen Kantons Rieux-Volvestre, seither gehört sie zum Kanton Auterive. Bis zum 22. Juni 2009 hieß die Gemeinde offiziell Rieux . [1] Inhaltsverzeichnis 1 Geografie 2 Geschichte 2.1 Wappen 2.2 Bevölkerungsentwicklung 3 Sehenswürdigkeiten 3.1 Kathedrale 3.2 Ehemaliger Herrschaftsturm 3.3 Maison Laguens 3.4 Brücke Pont de Lajous 3.5 Weitere Einrichtungen 4 Brä