Changes

Jump to navigation Jump to search
3,071 bytes added ,  23:08, 23 June 2022
new contrib
Line 1: Line 1:  +
{{Languages}}
 +
<!-- here we define the contrib name variable -->
 +
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
 +
{{#vardefine:contribname| {{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
 +
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  {{BASEPAGENAME}} |1}} }} }}
 +
<!-- we define the language -->
 +
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
 +
{{Infobox contribs
 +
|name={{#var:contribname}}
 +
|image=Nginx.png
 +
|description_image= {{#var:contribname}} logo
 +
|maintainer= Unnilennium
 +
|licence= BSD-2-Clause
 +
|url= https://www.nginx.com
 +
|category= http server
 +
|tags=http server, proxy, reverse proxy
 +
}}
 +
 +
===Maintainer===
 +
<!-- here you need to file your username and name -->
 +
[[User:Unnilennium|Jean-Philippe Pialasse]]
 +
 +
=== Version ===
 +
<!-- keep this first element as is, you can add some if needed -->
 +
{{#smeversion: {{#var:smecontribname}} }}
 +
 +
=== Description ===
 +
Nginx, stylized as NGIИX, is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and publicly released in 2004. Nginx is free and open-source software, released under the terms of the 2-clause BSD license.
 +
The Koozali SME Server implementation is meant to be run behind the original httpd apache server using reverse proxy for your needs. It might be possible to reverse the order, but was not designed this way originally.
 +
 +
=== Installation ===
 +
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install {{#var:smecontribname}}
 +
</tab>
 +
</tabs>
 +
 +
=== Configuration ===
 +
you can list the available configuration with the following command :
 +
config show {{#var:contribname}}
 +
 +
Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :
 +
{| class="wikitable"
 +
!property
 +
!default
 +
!values
 +
!
 +
|-
 +
|access
 +
|local
 +
|local,private, public
 +
|
 +
|-
 +
|status
 +
|enabled
 +
|enabled,disabled
 +
|}
 +
 +
===Internal Configuration ===
 +
Default templating makes nginx use the content of /etc/nginx/conf.d/*.conf to define server content. You can put your appropriate config files tgere
 +
 +
=== Uninstall ===
 +
yum remove {{#var:smecontribname}}  {{#var:contribname}}
 +
 +
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
 +
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
 +
 +
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}
 +
 +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
 +
{{ #smechangelog: {{#var:smecontribname}} }}
 +
 +
 +
 +
===Previous manual instruction left there ===
 
{{Warning box| Work in progress. Do NOT try this on a production server}}
 
{{Warning box| Work in progress. Do NOT try this on a production server}}
   Line 9: Line 87:  
In this example we will use port 4483
 
In this example we will use port 4483
   −
==Install==
+
=====Install=====
    
yum --enablerepo=epel install nginx
 
yum --enablerepo=epel install nginx
      −
==Configure==
+
=====Configure=====
    
Create a link in rc7.d This enables nginx to start on boot.
 
Create a link in rc7.d This enables nginx to start on boot.
Line 32: Line 110:  
  usermod -a -G shared nginx
 
  usermod -a -G shared nginx
   −
===Configs===
+
======Configs======
    
{{Note box|rename existing configs to config_con_ or move them completely to avoid issues}}
 
{{Note box|rename existing configs to config_con_ or move them completely to avoid issues}}
Line 49: Line 127:  
Check the port. You can use dehydrated/letsencrypt certificates
 
Check the port. You can use dehydrated/letsencrypt certificates
   −
===Ports===
+
======Ports======
    
Open a port on your firewall
 
Open a port on your firewall
Line 74: Line 152:       −
===Sample configurations===
+
======Sample configurations======
    
These are JUST samples. You will need to work out your own.
 
These are JUST samples. You will need to work out your own.
Line 143: Line 221:  
   }
 
   }
   −
==Start==
  −
  −
/etc/rc.d/init.d/nginx start
     −
/etc/rc.d/init.d/nginx stop
+
<!-- list of category you want to see this page in -->
 +
[[Category: Contrib]]
   −
  /etc/rc.d/init.d/nginx restart
+
<!-- Please keep there the template revision number as is -->
 +
[[contribtemplate::2| ]]
 +
[[contriblang:: {{#var:lang}} | ]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu