Закрыт

Need help to deploy Angular SSR application

Hi , I have my website [login to view URL] down because of faulty nginx configuration.

it is Angular SSR based application , running with pm2 and proxied using nginx. Please help.

As of now its [login to view URL] file is as following

server {

server_name [login to view URL] [login to view URL];

root /home/ubuntu/dist/india-camps-web/browser;

server_tokens off;

# index [login to view URL];

location / {

#root /home/ubuntu/dist/india-camps-web/browser;

# try_files $uri $uri/ @express;

# proxy_pass http://localhost:4000;

try_files $uri $uri/ /[login to view URL];

}

listen [::]:443 ssl http2 ipv6only=on; # managed by Certbot

listen 443 ssl http2; # managed by Certbot

proxy_set_header Connection '';

keepalive_timeout 10;

ssl_certificate /etc/letsencrypt/live/[login to view URL]; # managed by Certbot

ssl_certificate_key /etc/letsencrypt/live/[login to view URL]; # managed by Certbot

include /etc/letsencrypt/[login to view URL]; # managed by Certbot

ssl_dhparam /etc/letsencrypt/[login to view URL]; # managed by Certbot

gzip on;

gzip_disable "msie6";

gzip_vary on;

gzip_proxied any;

gzip_comp_level 6;

gzip_buffers 16 8k;

gzip_http_version 1.1;

gzip_types application/javascript application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon text/css text/javascript text/plain text/xml;

}

server {

if ($host = [login to view URL]) {

return 301 https://$host$request_uri;

} # managed by Certbot

if ($host = [login to view URL]) {

return 301 https://$host$request_uri;

} # managed by Certbot

listen 80 default_server;

listen [::]:80 default_server ipv6only=on;

Навыки: Nginx, Node.js, Linux, AngularJS, JavaScript

О клиенте:
( 9 отзыв(-а, -ов) ) Morena (M.P.), India

ID проекта: #34707255

5 фрилансеров(-а) готовы выполнить эту работу в среднем за $307

dataspro

Hello: My name is Anthony Muñoz, I express my interest in working on your project after carefully reading the requirements and concluding that they match my area of knowledge and skills. I am currently the lead engi Больше

$363 USD за 7 дней(-я)
(4 отзывов(-а))
5.2
andreibrut7

Hi, there. Nice to meet you. I have already read your requirement very carefully. I am so interested in your project and I want to work with you. I have 7+ years of experience in Python, Django,Nginx, React, MySQL, Nod Больше

$1050 USD за 7 дней(-я)
(14 отзывов(-а))
4.8
(49 отзывов(-а))
4.4
OsamaIbrahim7

Hi there, hoping this will find you well. kindly note that I have great experience in web/Desktop development for 8 years (C++,C#, MS SQL, asp.net Core , rest api, JavaScript ,Angular and git/VSTS, Window server IIS) w Больше

$50 USD за 1 день
(2 отзывов(-а))
2.6
licharstudio

Hi there, I read your description, and it looks like your Nginx or angular config is incorrect. I have experience with Nginx, PM2, and angular universal (SSR) and can config your Nginx more securely. https://sabzifelfe Больше

$50 USD за 7 дней(-я)
(0 отзывов(-а))
0.0