This is the default example configuration of pagure.conf provided by nginx. This config file was generated by nginx running on CentOS 7.
It is located under: /etc/nginx/conf.d/pagure.conf
#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;
#}
#}
Download the raw file with wget or curl
wget -O pagure.conf.example http://exampleconfig.com/static/raw/nginx/centos7/etc/nginx/conf.d/pagure.conf
curl http://exampleconfig.com/static/raw/nginx/centos7/etc/nginx/conf.d/pagure.conf > pagure.conf.example
Other config files you might find useful