File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ WORKDIR /app
2727COPY prisma/ ./prisma/
2828RUN pnpm prisma generate
2929
30+ ENV NEXT_PUBLIC_SERVER_URI=https://shopnexnow.store
31+ ENV NEXT_PUBLIC_SOCKET_URI=wss://shopnexnow.store/ws-chatting
32+ ENV NEXT_PUBLIC_USER_UI_LINK=https://shopnexnow.store
3033ENV NODE_ENV=production
3134RUN pnpm nx build @eshop/admin-ui
3235
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ WORKDIR /app
2727COPY prisma/ ./prisma/
2828RUN pnpm prisma generate
2929
30+ ENV NEXT_PUBLIC_SERVER_URI=https://shopnexnow.store/
31+ ENV NEXT_PUBLIC_USER_UI_LINK=https://shopnexnow.store
32+ ENV NEXT_PUBLIC_CHAATTING_WEBSOCKET_URI=wss://shopnexnow.store/ws-chatting
3033ENV NODE_ENV=production
3134RUN pnpm nx build @eshop/seller-ui
3235
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ WORKDIR /app
2727COPY prisma/ ./prisma/
2828RUN pnpm prisma generate
2929
30+ ENV NEXT_PUBLIC_SERVER_URI=https://shopnexnow.store
31+ ENV NEXT_PUBLIC_CHATTING_WEBSOCKET_URI=wss://shopnexnow.store/ws-chatting
32+ ENV NEXT_PUBLIC_SELLER_SERVER_URI=https://seller.shopnexnow.store
33+ ENV NEXT_PUBLIC_STRIPE_PUBLIC_KEY=pk_test_51PXzbSSGnmKVDMGjMqZWNz1dVlfYkrLFxKz8odWopqSVaZjh6HMA1ykIybHoDmGYbfC35RcmxpfCXDjhzmglqh3T00C3MjQgjL
3034ENV NODE_ENV=production
3135RUN pnpm nx build @eshop/user-ui
3236
Original file line number Diff line number Diff line change 8181 # ----------------------------------------------------
8282 server {
8383 listen 80 ;
84- server_name shopnexnow.store www.shopnexnow.store seller.shopnexnow.store admin.shopnexnow.store;
84+ server_name shopnexnow.store www.shopnexnow.store seller.shopnexnow.store www.seller.shopnexnow.store admin.shopnexnow.store www. admin.shopnexnow.store;
8585 return 301 https://$host$request_uri ;
8686 }
8787
@@ -186,7 +186,7 @@ http {
186186 # ----------------------------------------------------
187187 server {
188188 listen 443 ssl ;
189- server_name seller.shopnexnow.store;
189+ server_name seller.shopnexnow.store www.seller.shopnexnow.store ;
190190
191191 ssl_certificate /etc/letsencrypt/live/shopnexnow.store/fullchain.pem;
192192 ssl_certificate_key /etc/letsencrypt/live/shopnexnow.store/privkey.pem;
@@ -270,7 +270,7 @@ http {
270270 # ----------------------------------------------------
271271 server {
272272 listen 443 ssl ;
273- server_name admin.shopnexnow.store;
273+ server_name admin.shopnexnow.store www.admin.shopnexnow.store ;
274274
275275 ssl_certificate /etc/letsencrypt/live/shopnexnow.store/fullchain.pem;
276276 ssl_certificate_key /etc/letsencrypt/live/shopnexnow.store/privkey.pem;
You can’t perform that action at this time.
0 commit comments