examples: annotate examples
[nit.git] / lib / nitcorn / examples / src / nitcorn_reverse_proxy.nit
index 13d9c81..25e1819 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# This is a simple example of how to use a ProxyAction with Nitcorn
+# Minimal example using a `ProxyAction`
+module nitcorn_reverse_proxy is example
 
-import nitcorn
+import nitcorn::proxy
 
 # Create the virtualhost for your nitcorn server
 var vh = new VirtualHost("localhost:8080")