New Angular based web version #1

Closed
thomas.nuyken wants to merge 150 commits from main into ddd
4 changed files with 20 additions and 8 deletions
Showing only changes of commit 8681247e76 - Show all commits

View File

@@ -7,7 +7,12 @@ RUN pnpm install
RUN pnpm "build:$CONFIGURATION"
FROM nginx:alpine
RUN rm /etc/nginx/conf.d/*
ENV DOLLAR=$
WORKDIR /usr/share/nginx/html
COPY --from=build /usr/local/app/dist/Vegasco-Web/browser .
COPY nginx.conf /etc/nginx/nginx.conf
COPY webserver.conf.template /etc/nginx/templates/webserver.conf.template
EXPOSE 80

View File

@@ -2,12 +2,7 @@ events { }
http {
include mime.types;
server {
listen 80;
resolver 8.8.8.8 8.8.4.4 1.1.1.1;
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html =404;
}
}
include /etc/nginx/conf.d/webserver.conf;
}

View File

@@ -0,0 +1,12 @@
server {
listen 80;
location ~ ^/api/(.*) {
proxy_pass ${services__Vegasco_Server_Api__https__0}/$1;
}
location / {
root /usr/share/nginx/html;
try_files ${DOLLAR}uri ${DOLLAR}uri/ /index.html =404;
}
}

View File

@@ -4,7 +4,7 @@ public static class Constants
{
public static class Projects
{
public const string Api = "Vegasco-Server-Api";
public const string Api = "Vegasco_Server_Api";
}
public static class Database