shione: nginx: init nginx

This commit is contained in:
Renken 2023-12-24 20:44:07 +01:00
parent ae9f353b9f
commit 88092e1f96
Signed by: renken
GPG key ID: 1F2BB159B645E575
10 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,5 @@
nginx-config (1.0) unstable; urgency=low
* Initial release.
-- Renken <renken@shione.net> Sun, 24 Dec 2023 19:32:00 +0100

View file

@ -0,0 +1 @@
9

View file

@ -0,0 +1,16 @@
Source: nginx-config
Section: tasks
Priority: optional
Maintainer: Renken <renken@shione.net>
Rules-Requires-Root: no
Build-Depends: debhelper (>= 13.11~), config-package-dev (>= 4.15~)
Standards-Version: 4.1.0
Package: nginx-config
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, nginx
Provides: ${diverted-files}
Conflicts: ${diverted-files}
Description: Shione nginx configuration.
Shione nginx configuration.

View file

@ -0,0 +1,8 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://gitlab.com/renken/nichijou
Upstream-Contact: Renken <renken@shione.net>
Files:
*
Copyright: 2023, Renken <renken@shione.net>
License: GPL-3

View file

@ -0,0 +1 @@
/etc/nginx/sites-enables/defaut

View file

@ -0,0 +1 @@
files/* /

View file

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@ --with config-package

View file

@ -0,0 +1 @@
3.0 (native)

View file

@ -0,0 +1,52 @@
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
#
# In most cases, administrators will remove this file from sites-enabled/ and
# leave it as reference inside of sites-available where it will continue to be
# updated by the nginx packaging team.
#
# This file will automatically load configuration files provided by other
# applications, such as Drupal or Wordpress. These applications will be made
# available underneath a path with that package name, such as /drupal8.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
# Default server configuration
#
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Note: You should disable gzip for SSL traffic.
# See: https://bugs.debian.org/773332
#
# Read up on ssl_ciphers to ensure a secure configuration.
# See: https://bugs.debian.org/765782
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
# include snippets/snakeoil.conf;
root /var/www/html/www.shione.net;
index index.html;
server_name shione.net www.shione.net;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}

View file

@ -0,0 +1 @@
../sites-available/homepage.conf