Kategorien
Allgemein

Angular Development Server behind Nginx with Go API

You’re here because you’d like to know the nginx.conf or rather the vhost conf for nginx in order to serve an Angular dev app on your local host.
Angular listens on port 4200 with ng serve.
In my case I have a keycloak-proxy listening on port 8080.
And my api is on /api/v1/ .
My project is called “dating”.
It’s located at ~/WebstormProjects/dating/ .

So let’s make this simple.

So again this is for the DEVELOPMENT server. Production has different settings.

Spread the love

Von Darko Luketic

I'm a freelance developer since 2004. I have been working professionally since 2000. My first contact with computers was the C64 at the age of 11, 1 year later I cracked games and another year later I wrote cracktros.
I worked with PHP professionally for 11 years, nowadays I prefer Angular, Go and Flutter, but I'm open minded. However I would dislike taking a step back to PHP.

I'm for hire. .

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.