Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy steps on nginx #219

Closed
R1Dev opened this issue Feb 1, 2023 · 0 comments
Closed

Deploy steps on nginx #219

R1Dev opened this issue Feb 1, 2023 · 0 comments

Comments

@R1Dev
Copy link

R1Dev commented Feb 1, 2023

Hello,
Could you please indicate the changes to apply to angular/net6 config to host the QuickApp to a nginx env?

Bellow is the conf file

server {
listen 443 ssl http2;
server_name domain.com;
set $MAGE_ROOT /var/www/dotnet/1/domain/site;

# SSL
ssl_certificate     /etc/nginx/ssl/star.domain.com.bundle.crt;
ssl_certificate_key /etc/nginx/ssl/star.domain.com.key;

location / {
    proxy_pass         http://127.0.0.1:5000;
    proxy_http_version 1.1;
    proxy_set_header   Upgrade $http_upgrade;
    proxy_set_header   Connection keep-alive;
    proxy_set_header   Host $host;
    proxy_cache_bypass $http_upgrade;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   X-Forwarded-Proto $scheme;
}

}

@emonney emonney closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants