Skip to content

Instantly share code, notes, and snippets.

@RobertoSchneiders
RobertoSchneiders / elsaticbeanstalk_docker_poxa_with_ssl.md
Last active September 15, 2015 12:59
How to configure a Poxa server with SSL in ElasticBeastalk.

This documentation has been moved to the this wiki page.

With HTTP

If you don't need SSL/HTTPS all you have to do is create two files and upload a zip to AWS Elastic Beanstalk configured for Docker platform, pretty straightforward.

Create the configuration files

Add a config file poxa.conf and configure the HTTP Port and credentials.

require 'inifile'
module Helper
def obter_porta_instalada(nome)
ini = IniFile.load("c:\\Monde\\Servidor-#{nome}\\bin\\MondeServer.ini")
if ini.has_section? 'porta'
return ini['porta']
end
end
end
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>