Skip to content

Instantly share code, notes, and snippets.

View jovanimoura's full-sized avatar

JM jovanimoura

View GitHub Profile
@jovanimoura
jovanimoura / nginx_odoo.conf
Created November 28, 2017 17:26 — forked from repodevs/nginx_odoo.conf
odoo nginx config
server {
listen 80 default_server;
#rewrite ^/.*$ https://$host$request_uri? permanent; #Uncomment this line in case you want to use https only
#server_name {{ODOO_DOMAIN}};
include odoo_params;
location /longpolling {
proxy_pass http://127.0.0.1:8072;
}
location / {
@jovanimoura
jovanimoura / odoo.conf
Created November 28, 2017 17:26 — forked from ryanc-me/odoo.conf
Sample Odoo/Nginx Config (with dbfilter_from_header support)
# Author: Ryan Cole
# Website: https://ryanc.me
# GitHub: https://github.com/MGinshe
# Usage:
# Place this file in /etc/nginx/sites-enabled/
# Make sure you edit the DOMAIN_HERE and SSL_CERTIFICATE, and DB_FILTER sections
#
# Note: This config file is designed to be used with the Odoo dbfilter_from_header module
# https://apps.openerp.com/apps/modules/9.0/dbfilter_from_header/
@jovanimoura
jovanimoura / odoo-nginx.conf
Created November 28, 2017 17:24 — forked from mga-odoo/odoo-nginx.conf
Odoo Proxy Server Configuration on Nginx
upstream odoo-server {
server 0.0.0.0:8069;
}
upstream odoo-server-im {
server 0.0.0.0:8072 weight=1 fail_timeout=0;
}
server {
server {
listen 443;
server_name fhisa.tabla.si;
access_log /var/log/nginx/fhisa.access.log;
error_log /var/log/nginx/fhisa.error.log;
ssl on;
ssl_certificate /etc/nginx/ssl/fhisa.crt;
ssl_certificate_key /etc/nginx/ssl/fhisa.key;
@jovanimoura
jovanimoura / merge_junit_results.py
Created June 28, 2017 19:10 — forked from cgoldberg/merge_junit_results.py
Merge multiple JUnit XML results files into a single results file.
#!/usr/bin/env python
#
# Corey Goldberg, Dec 2012
#
import os
import sys
import xml.etree.ElementTree as ET
@jovanimoura
jovanimoura / odoo_install_without_pip_git_and_postgres.sh
Last active June 15, 2017 02:27 — forked from bistaray/odoo_install.sh
Install Odoo v10 Enterprise (with Bista repositories)
#!/bin/bash
################################################################################
# Script for installing Odoo V10 on Ubuntu 17.04, 16.04, 15.04, 14.04
# Author: Yenthe Van Ginneken
# Adjusted: Ray Carnes
# Adaptation: Jôvani Moura
# Assumes you already have an Ubuntu user called "odoo" with a home folder.
# Assumes you already have installed postgresql server, pip, git and node.
#-------------------------------------------------------------------------------
# Make a new file: