File tree Expand file tree Collapse file tree 2 files changed +16
-30
lines changed Expand file tree Collapse file tree 2 files changed +16
-30
lines changed Original file line number Diff line number Diff line change 2626 --tenant "${{ secrets.AZURE_TENANT_ID }}"
2727
2828 - name : Sync NGINX Config to Azure
29- uses : kuthiala/nginx-for-azure-deploy-action@main
29+ # uses: kuthiala/nginx-for-azure-deploy-action@main
30+ 3031 with :
3132 subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
3233 resource-group-name : ${{ secrets.AZURE_RESOURCE_GROUP_NAME }}
Original file line number Diff line number Diff line change 1+ user nginx;
2+ worker_processes auto;
3+ worker_rlimit_nofile 8192 ;
4+ pid /run/nginx/nginx.pid ;
5+ >
6+ error_log /var/log/nginx/error.log error;
7+ >
18http {
2- upstream app {
3- zone app 64k ;
4- least_conn ;
5- server 10.0.1.4:8000 ;
6- }
7-
8- server {
9- listen 80 ;
10- server_name *.example.com;
11-
12- location / {
13- include /etc/nginx/conf.d/proxy.conf;
14- proxy_pass http ://app;
15- health_check ;
16- }
17- }
18-
9+ access_log off;
10+ server_tokens "" ;
1911 server {
20- listen 443 ssl default_server;
21- # listen 443;
22- server_name example.com;
23-
24- ssl_certificate /etc/nginx/ssl /000000 /my-cert.crt;
25- ssl_certificate_key /etc/nginx/ssl /000000 /my-cert.key;
26-
12+ listen 80 default_server;
13+ server_name localhost;
2714 location / {
28- include /etc/nginx/conf.d/proxy.conf ;
29- proxy_pass http ://app ;
30- health_check ;
15+ # Points to a directory with a basic html index file with
16+ # a "Welcome to NGINX as a Service for Azure!" page
17+ return 200 "hello world" ;
3118 }
3219 }
3320}
34-
35- # Github sync
You can’t perform that action at this time.
0 commit comments