/etc/nginx/conf.d/pagure.conf - CentOS Linux 7

This is the default example config of /etc/nginx/conf.d/pagure.conf provided by nginx. This config file was generated on CentOS 7.


    #server {
    #listen 80;
    #server_name docs.localhost.localdomain;
    #return 301 https://docs.localhost.localdomain$request_uri;
#}

#server {
    #listen 443 ssl;

    #server_name docs.localhost.localdomain;

    #access_log  /var/log/nginx/pagure_docs.access.log;
    #error_log  /var/log/nginx/pagure_docs.error.log;

    #ssl_certificate /etc/pki/tls/....crt
    #ssl_certificate_key /etc/pki/tls/....key

    #location @pagure_docs {
        #proxy_set_header Host $http_host;
        #proxy_set_header X-Real-IP $remote_addr;
        #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        #proxy_set_header X-Forwarded-Proto $scheme;
        #proxy_pass http://unix:/tmp/pagure_docs_web.sock;
    #}

    #location / {
        #try_files $uri @pagure_docs;
    #}

#}

#server {
    #listen 80;
    #server_name localhost.localdomain;
    #return 301 https://localhost.localdomain$request_uri;
#}

#server {
    #listen 443 ssl;

    #server_name localhost.localdomain;

    #access_log  /var/log/nginx/pagure.access.log;
    #error_log  /var/log/nginx/pagure.error.log;

    #ssl_certificate /etc/pki/tls/....crt
    #ssl_certificate_key /etc/pki/tls/....key

    #location @pagure {
        #proxy_set_header Host $http_host;
        #proxy_set_header X-Real-IP $remote_addr;
        #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        #proxy_set_header X-Forwarded-Proto $scheme;
        #proxy_pass http://unix:/tmp/pagure_web.sock;
    #}

    #location / {
        #try_files $uri @pagure;
    #}

    #location /releases {
        #alias /var/www/releases/;
        #autoindex on;
    #}

#}

    
  

Config Details

Location
/etc/nginx/conf.d/pagure.conf
Operating system
CentOS Linux 7
Length
66 lines
MD5 checksum
d707ccbf6740ded0fc7db736dd7c97d4

Usage

Download the raw file with wget or curl

Wget

wget -O pagure.conf.example http://exampleconfig.com/static/raw/nginx/centos7/etc/nginx/conf.d/pagure.conf

cURL

curl http://exampleconfig.com/static/raw/nginx/centos7/etc/nginx/conf.d/pagure.conf > pagure.conf.example